Enum efr32xg12p::wtimer1::cc1_ctrl::ICEVCTRLR
[−]
[src]
pub enum ICEVCTRLR { EVERYEDGE, EVERYSECONDEDGE, RISING, FALLING, }
Possible values of the field ICEVCTRL
Variants
EVERYEDGE
PRS output pulse and interrupt flag set on every capture
EVERYSECONDEDGE
PRS output pulse and interrupt flag set on every second capture
RISING
PRS output pulse and interrupt flag set on rising edge only (if ICEDGE = BOTH)
FALLING
PRS output pulse and interrupt flag set on falling edge only (if ICEDGE = BOTH)
Methods
impl ICEVCTRLR
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_everyedge(&self) -> bool
[src]
Checks if the value of the field is EVERYEDGE
fn is_everysecondedge(&self) -> bool
[src]
Checks if the value of the field is EVERYSECONDEDGE
fn is_rising(&self) -> bool
[src]
Checks if the value of the field is RISING
fn is_falling(&self) -> bool
[src]
Checks if the value of the field is FALLING
Trait Implementations
impl Clone for ICEVCTRLR
[src]
fn clone(&self) -> ICEVCTRLR
[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