nrf52840_pac::timer3::mode

Type Alias MODE_R

Source
pub type MODE_R = FieldReader<u8, MODE_A>;
Expand description

Field MODE reader - Timer mode

Aliased Type§

struct MODE_R { /* private fields */ }

Implementations§

Source§

impl MODE_R

Source

pub fn variant(&self) -> Option<MODE_A>

Get enumerated values variant

Source

pub fn is_timer(&self) -> bool

Checks if the value of the field is TIMER

Source

pub fn is_counter(&self) -> bool

Checks if the value of the field is COUNTER

Source

pub fn is_low_power_counter(&self) -> bool

Checks if the value of the field is LOW_POWER_COUNTER