Enum nrf52svd::timer0::mode::MODER
[−]
[src]
pub enum MODER { TIMER, COUNTER, LOWPOWERCOUNTER, _Reserved(u8), }
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
Methods
impl MODER
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_timer(&self) -> bool
[src]
Checks if the value of the field is TIMER
fn is_counter(&self) -> bool
[src]
Checks if the value of the field is COUNTER
fn is_low_power_counter(&self) -> bool
[src]
Checks if the value of the field is LOWPOWERCOUNTER
Trait Implementations
impl Clone for MODER
[src]
fn clone(&self) -> MODER
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more