Enum nrf52832_pac::timer0::mode::MODER
source · pub enum MODER {
TIMER,
COUNTER,
LOWPOWERCOUNTER,
_Reserved(u8),
}
Expand description
Possible values of the field MODE
Variants§
TIMER
Select Timer mode
COUNTER
Deprecated enumerator - Select Counter mode
LOWPOWERCOUNTER
Select Low Power Counter mode
_Reserved(u8)
Reserved
Implementations§
source§impl MODER
impl MODER
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 LOWPOWERCOUNTER