Type Alias nrf52840_pac::timer0::mode::MODE_W

source ·
pub type MODE_W<'a, const O: u8> = FieldWriter<'a, u32, MODE_SPEC, u8, MODE_A, 2, O>;
Expand description

Field MODE writer - Timer mode

Aliased Type§

struct MODE_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

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

source

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

Select Timer mode

source

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

Deprecated enumerator - Select Counter mode

source

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

Select Low Power Counter mode