pub type TCCMODE_W<'a, const O: u8> = FieldWriter<'a, u32, CTRL_SPEC, u8, TCCMODE_A, 2, O>;
Expand description

Field TCCMODE writer - Sets the Mode for Triggered Compare and Clear

Implementations§

source§

impl<'a, const O: u8> TCCMODE_W<'a, O>

source

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

Triggered compare and clear not enabled.

source

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

Compare and clear performed on each (optionally prescaled) LFA clock cycle.

source

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

Compare and clear performed on positive PRS edges.