Enum efm32gg11b820::pcnt1::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]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_both(&self) -> bool
[src]
Checks if the value of the field is BOTH
pub fn is_up(&self) -> bool
[src]
Checks if the value of the field is UP
pub fn is_down(&self) -> bool
[src]
Checks if the value of the field is DOWN
pub 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
impl Copy for CNTEVR
[src]
impl Debug for CNTEVR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more