Type Alias nrf52840_pac::timer0::mode::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
impl MODE_R
sourcepub fn is_counter(&self) -> bool
pub fn is_counter(&self) -> bool
Checks if the value of the field is COUNTER
sourcepub fn is_low_power_counter(&self) -> bool
pub fn is_low_power_counter(&self) -> bool
Checks if the value of the field is LOW_POWER_COUNTER