pub type R = R<CONFIG_SPEC>;
Expand description
Register config
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn stop_on_repeat(&self) -> STOP_ON_REPEAT_R
pub fn stop_on_repeat(&self) -> STOP_ON_REPEAT_R
Bit 19 - Enable or disable stop on one repeat cycle completed
Sourcepub fn adc_trigger_source(&self) -> ADC_TRIGGER_SOURCE_R
pub fn adc_trigger_source(&self) -> ADC_TRIGGER_SOURCE_R
Bits 20:23 - Select channel in Analog-to-Digital Converter to interact with this peripheral
This field only works with PWM0. PWM1 does not have this feature.
Sourcepub fn software_break(&self) -> SOFTWARE_BREAK_R
pub fn software_break(&self) -> SOFTWARE_BREAK_R
Bit 24 - Enable software signal break
Sourcepub fn external_break(&self) -> EXTERNAL_BREAK_R
pub fn external_break(&self) -> EXTERNAL_BREAK_R
Bit 25 - Enable external pin signal break
Sourcepub fn external_polarity(&self) -> EXTERNAL_POLARITY_R
pub fn external_polarity(&self) -> EXTERNAL_POLARITY_R
Bit 26 - Polarity for external pin break function
Sourcepub fn stop_function(&self) -> STOP_FUNCTION_R
pub fn stop_function(&self) -> STOP_FUNCTION_R
Bit 27 - Enable or disable stop function
Sourcepub fn stop_mode(&self) -> STOP_MODE_R
pub fn stop_mode(&self) -> STOP_MODE_R
Bit 28 - Mode to stop this peripheral
Sourcepub fn stop_state(&self) -> STOP_STATE_R
pub fn stop_state(&self) -> STOP_STATE_R
Bit 29 - Is this peripheral stopped?
Sourcepub fn clock_select(&self) -> CLOCK_SELECT_R
pub fn clock_select(&self) -> CLOCK_SELECT_R
Bits 30:31 - Select group clock source