Type Alias CntselW

Source
pub type CntselW<'a, REG> = FieldWriter<'a, REG, 2, Cntselselect, Safe>;
Expand description

Field CNTSEL writer - Timer/counter Output Event Mode

Aliased Type§

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

Implementations§

Source§

impl<'a, REG> CntselW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

Source

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

An interrupt/event is generated when a new counter cycle starts

Source

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

An interrupt/event is generated when a counter cycle ends

Source

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

An interrupt/event is generated when a counter cycle ends, except for the first and last cycles

Source

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

An interrupt/event is generated when a new counter cycle starts or a counter cycle ends