Type Alias R

Source
pub type R = R<CONFIG_SPEC>;
Expand description

Register config reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn stop_on_repeat(&self) -> STOP_ON_REPEAT_R

Bit 19 - Enable or disable stop on one repeat cycle completed

Source

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.

Source

pub fn software_break(&self) -> SOFTWARE_BREAK_R

Bit 24 - Enable software signal break

Source

pub fn external_break(&self) -> EXTERNAL_BREAK_R

Bit 25 - Enable external pin signal break

Source

pub fn external_polarity(&self) -> EXTERNAL_POLARITY_R

Bit 26 - Polarity for external pin break function

Source

pub fn stop_function(&self) -> STOP_FUNCTION_R

Bit 27 - Enable or disable stop function

Source

pub fn stop_mode(&self) -> STOP_MODE_R

Bit 28 - Mode to stop this peripheral

Source

pub fn stop_state(&self) -> STOP_STATE_R

Bit 29 - Is this peripheral stopped?

Source

pub fn clock_select(&self) -> CLOCK_SELECT_R

Bits 30:31 - Select group clock source