Skip to main content

R

Type Alias R 

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

Reader of register CTRL

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn mode(&self) -> MODE_R

Bits 0:1 - Timer Mode

Source

pub fn sync(&self) -> SYNC_R

Bit 3 - Timer Start/Stop/Reload Synchronization

Source

pub fn osmen(&self) -> OSMEN_R

Bit 4 - One-shot Mode Enable

Source

pub fn qdm(&self) -> QDM_R

Bit 5 - Quadrature Decoder Mode Selection

Source

pub fn debugrun(&self) -> DEBUGRUN_R

Bit 6 - Debug Mode Run Enable

Source

pub fn dmaclract(&self) -> DMACLRACT_R

Bit 7 - DMA Request Clear on Active

Source

pub fn risea(&self) -> RISEA_R

Bits 8:9 - Timer Rising Input Edge Action

Source

pub fn falla(&self) -> FALLA_R

Bits 10:11 - Timer Falling Input Edge Action

Source

pub fn x2cnt(&self) -> X2CNT_R

Bit 13 - 2x Count Mode

Source

pub fn clksel(&self) -> CLKSEL_R

Bits 16:17 - Clock Source Select

Source

pub fn presc(&self) -> PRESC_R

Bits 24:27 - Prescaler Setting

Source

pub fn ati(&self) -> ATI_R

Bit 28 - Always Track Inputs

Source

pub fn rsscoist(&self) -> RSSCOIST_R

Bit 29 - Reload-Start Sets Compare Output Initial State