Skip to main content

OnceW

Type Alias OnceW 

Source
pub type OnceW<'a, REG> = BitWriter<'a, REG, Once>;
Expand description

Field ONCE writer - Count Once

Aliased Type§

pub struct OnceW<'a, REG> { /* private fields */ }

Implementations§

Source§

impl<'a, REG> OnceW<'a, REG>
where REG: Writable + RegisterSpec,

Source

pub fn once0(self) -> &'a mut W<REG>

Position counter counts repeatedly

Source

pub fn once1(self) -> &'a mut W<REG>

Position counter counts until roll-over or roll-under, then stop.