Enum efm32gg11b820::timer0::cc2_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]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_everyedge(&self) -> bool
[src]
Checks if the value of the field is EVERYEDGE
pub fn is_everysecondedge(&self) -> bool
[src]
Checks if the value of the field is EVERYSECONDEDGE
pub fn is_rising(&self) -> bool
[src]
Checks if the value of the field is RISING
pub 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
impl Copy for ICEVCTRLR
[src]
impl Debug for ICEVCTRLR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more