pub type CMOA_W<'a, const O: u8> = FieldWriterSafe<'a, u32, CC2_CTRL_SPEC, u8, CMOA_A, 2, O>;
Expand description

Field CMOA writer - Compare Match Output Action

Implementations§

source§

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

source

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

No action on compare match

source

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

Toggle output on compare match

source

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

Clear output on compare match

source

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

Set output on compare match