R

Type Alias R 

Source
pub type R = R<u32, CFGR>;
Expand description

Reader of register CFGR

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn enc(&self) -> ENC_R

Bit 24 - Encoder mode enable

Source

pub fn countmode(&self) -> COUNTMODE_R

Bit 23 - counter mode enabled

Source

pub fn preload(&self) -> PRELOAD_R

Bit 22 - Registers update mode

Source

pub fn wavpol(&self) -> WAVPOL_R

Bit 21 - Waveform shape polarity

Source

pub fn wave(&self) -> WAVE_R

Bit 20 - Waveform shape

Source

pub fn timout(&self) -> TIMOUT_R

Bit 19 - Timeout enable

Source

pub fn trigen(&self) -> TRIGEN_R

Bits 17:18 - Trigger enable and polarity

Source

pub fn trigsel(&self) -> TRIGSEL_R

Bits 13:15 - Trigger selector

Source

pub fn presc(&self) -> PRESC_R

Bits 9:11 - Clock prescaler

Source

pub fn trgflt(&self) -> TRGFLT_R

Bits 6:7 - Configurable digital filter for trigger

Source

pub fn ckflt(&self) -> CKFLT_R

Bits 3:4 - Configurable digital filter for external clock

Source

pub fn ckpol(&self) -> CKPOL_R

Bits 1:2 - Clock Polarity

Source

pub fn cksel(&self) -> CKSEL_R

Bit 0 - Clock selector