Enum atsam4lc4c::tc0::cmr_waveform::EEVTEDGR
[−]
[src]
pub enum EEVTEDGR { NO_EDGE, POS_EDGE, NEG_EDGE, BOTH_EDGES, }
Possible values of the field EEVTEDG
Variants
NO_EDGE
none
POS_EDGE
rising edge
NEG_EDGE
falling edge
BOTH_EDGES
each edge
Methods
impl EEVTEDGR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_no_edge(&self) -> bool
[src]
Checks if the value of the field is NO_EDGE
pub fn is_pos_edge(&self) -> bool
[src]
Checks if the value of the field is POS_EDGE
pub fn is_neg_edge(&self) -> bool
[src]
Checks if the value of the field is NEG_EDGE
pub fn is_both_edges(&self) -> bool
[src]
Checks if the value of the field is BOTH_EDGES
Trait Implementations
impl Clone for EEVTEDGR
[src]
fn clone(&self) -> EEVTEDGR
[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 EEVTEDGR
[src]
impl Debug for EEVTEDGR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more