Enum lpc82x::sct::ctrl::BIDIR_HR
[−]
[src]
pub enum BIDIR_HR { UP, UPDOWN, }
Possible values of the field BIDIR_H
Variants
UP
The H counter counts up to its limit condition, then is cleared to zero.
UPDOWN
The H counter counts up to its limit, then counts down to a limit condition or to 0.
Methods
impl BIDIR_HR
[src]
fn bit_is_clear(&self) -> bool
[src]
Returns true
if the bit is clear (0)
fn bit_is_set(&self) -> bool
[src]
Returns true
if the bit is set (1)
fn bit(&self) -> bool
[src]
Value of the field as raw bits
fn is_up(&self) -> bool
[src]
Checks if the value of the field is UP
fn is_updown(&self) -> bool
[src]
Checks if the value of the field is UPDOWN
Trait Implementations
impl Clone for BIDIR_HR
[src]
fn clone(&self) -> BIDIR_HR
[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