Enum efr32xg12p::pcnt0::ctrl::AUXCNTEVR
[−]
[src]
pub enum AUXCNTEVR { NONE, UP, DOWN, BOTH, }
Possible values of the field AUXCNTEV
Variants
NONE
Never counts.
UP
Counts up on up-count events.
DOWN
Counts up on down-count events.
BOTH
Counts up on both up-count and down-count events.
Methods
impl AUXCNTEVR
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_none(&self) -> bool
[src]
Checks if the value of the field is NONE
fn is_up(&self) -> bool
[src]
Checks if the value of the field is UP
fn is_down(&self) -> bool
[src]
Checks if the value of the field is DOWN
fn is_both(&self) -> bool
[src]
Checks if the value of the field is BOTH
Trait Implementations
impl Clone for AUXCNTEVR
[src]
fn clone(&self) -> AUXCNTEVR
[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