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