pub type W = W<CONFIG_SPEC>;
Expand description
Register config
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn stop_on_repeat(&mut self) -> STOP_ON_REPEAT_W<'_, CONFIG_SPEC>
pub fn stop_on_repeat(&mut self) -> STOP_ON_REPEAT_W<'_, CONFIG_SPEC>
Bit 19 - Enable or disable stop on one repeat cycle completed
Sourcepub fn adc_trigger_source(&mut self) -> ADC_TRIGGER_SOURCE_W<'_, CONFIG_SPEC>
pub fn adc_trigger_source(&mut self) -> ADC_TRIGGER_SOURCE_W<'_, CONFIG_SPEC>
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(&mut self) -> SOFTWARE_BREAK_W<'_, CONFIG_SPEC>
pub fn software_break(&mut self) -> SOFTWARE_BREAK_W<'_, CONFIG_SPEC>
Bit 24 - Enable software signal break
Sourcepub fn external_break(&mut self) -> EXTERNAL_BREAK_W<'_, CONFIG_SPEC>
pub fn external_break(&mut self) -> EXTERNAL_BREAK_W<'_, CONFIG_SPEC>
Bit 25 - Enable external pin signal break
Sourcepub fn external_polarity(&mut self) -> EXTERNAL_POLARITY_W<'_, CONFIG_SPEC>
pub fn external_polarity(&mut self) -> EXTERNAL_POLARITY_W<'_, CONFIG_SPEC>
Bit 26 - Polarity for external pin break function
Sourcepub fn stop_function(&mut self) -> STOP_FUNCTION_W<'_, CONFIG_SPEC>
pub fn stop_function(&mut self) -> STOP_FUNCTION_W<'_, CONFIG_SPEC>
Bit 27 - Enable or disable stop function
Sourcepub fn stop_mode(&mut self) -> STOP_MODE_W<'_, CONFIG_SPEC>
pub fn stop_mode(&mut self) -> STOP_MODE_W<'_, CONFIG_SPEC>
Bit 28 - Mode to stop this peripheral
Sourcepub fn stop_state(&mut self) -> STOP_STATE_W<'_, CONFIG_SPEC>
pub fn stop_state(&mut self) -> STOP_STATE_W<'_, CONFIG_SPEC>
Bit 29 - Is this peripheral stopped?
Sourcepub fn clock_select(&mut self) -> CLOCK_SELECT_W<'_, CONFIG_SPEC>
pub fn clock_select(&mut self) -> CLOCK_SELECT_W<'_, CONFIG_SPEC>
Bits 30:31 - Select group clock source