pub type AUXCNTEV_W<'a, const O: u8> = FieldWriterSafe<'a, u32, CTRL_SPEC, u8, AUXCNTEV_A, 2, O>;
Expand description

Field AUXCNTEV writer - Controls When the Auxiliary Counter Counts

Implementations§

source§

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

source

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

Never counts.

source

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

Counts up on up-count events.

source

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

Counts up on down-count events.

source

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

Counts up on both up-count and down-count events.