Type Alias REPMODE_W

Source
pub type REPMODE_W<'a> = FieldWriterSafe<'a, u32, CTRL_SPEC, u8, REPMODE_A, 2, 0>;
Expand description

Field REPMODE writer - Repeat Mode

Aliased Type§

pub struct REPMODE_W<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> REPMODE_W<'a>

Source

pub fn free(self) -> &'a mut W

When started, the LETIMER counts down until it is stopped by software.

Source

pub fn oneshot(self) -> &'a mut W

The counter counts REP0 times. When REP0 reaches zero, the counter stops.

Source

pub fn buffered(self) -> &'a mut W

The counter counts REP0 times. If REP1 has been written, it is loaded into REP0 when REP0 reaches zero. Else the counter stops

Source

pub fn double(self) -> &'a mut W

Both REP0 and REP1 are decremented when the LETIMER wraps around. The LETIMER counts until both REP0 and REP1 are zero