Enum lpc82x::sct::ev_ctrl::DIRECTIONR
[−]
[src]
pub enum DIRECTIONR { DIRECTION_INDEPENDEN, COUNTING_UP, COUNTING_DOWN, _Reserved(u8), }
Possible values of the field DIRECTION
Variants
DIRECTION_INDEPENDEN
Direction independent. This event is triggered regardless of the count direction.
COUNTING_UP
Counting up. This event is triggered only during up-counting when BIDIR = 1.
COUNTING_DOWN
Counting down. This event is triggered only during down-counting when BIDIR = 1.
_Reserved(u8)
Reserved
Methods
impl DIRECTIONR
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_direction_independen(&self) -> bool
[src]
Checks if the value of the field is DIRECTION_INDEPENDEN
fn is_counting_up(&self) -> bool
[src]
Checks if the value of the field is COUNTING_UP
fn is_counting_down(&self) -> bool
[src]
Checks if the value of the field is COUNTING_DOWN
Trait Implementations
impl Clone for DIRECTIONR
[src]
fn clone(&self) -> DIRECTIONR
[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 DIRECTIONR
[src]
impl Debug for DIRECTIONR
[src]
impl PartialEq for DIRECTIONR
[src]
fn eq(&self, __arg_0: &DIRECTIONR) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DIRECTIONR) -> bool
[src]
This method tests for !=
.