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
sourceimpl 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
Trait Implementations
impl Copy for MODER
impl StructuralPartialEq for MODER
Auto Trait Implementations
impl RefUnwindSafe for MODER
impl Send for MODER
impl Sync for MODER
impl Unpin for MODER
impl UnwindSafe for MODER
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more