Enum efm32pg22_pac::efm32pg22c200::timer0_s::cc2_ctrl::ICEVCTRL_A
source · #[repr(u8)]
pub enum ICEVCTRL_A {
EVERYEDGE,
EVERYSECONDEDGE,
RISING,
FALLING,
}
Expand description
Input Capture Event Control
Value on reset: 0
Variants§
EVERYEDGE
0: PRS output pulse and interrupt flag set on every capture
EVERYSECONDEDGE
1: PRS output pulse and interrupt flag set on every second capture
RISING
2: PRS output pulse and interrupt flag set on rising edge only (if ICEDGE = BOTH)
FALLING
3: PRS output pulse and interrupt flag set on falling edge only (if ICEDGE = BOTH)
Trait Implementations§
source§impl Clone for ICEVCTRL_A
impl Clone for ICEVCTRL_A
source§fn clone(&self) -> ICEVCTRL_A
fn clone(&self) -> ICEVCTRL_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ICEVCTRL_A
impl Debug for ICEVCTRL_A
source§impl From<ICEVCTRL_A> for u8
impl From<ICEVCTRL_A> for u8
source§fn from(variant: ICEVCTRL_A) -> Self
fn from(variant: ICEVCTRL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<ICEVCTRL_A> for ICEVCTRL_A
impl PartialEq<ICEVCTRL_A> for ICEVCTRL_A
source§fn eq(&self, other: &ICEVCTRL_A) -> bool
fn eq(&self, other: &ICEVCTRL_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.