Enum efm32lg390_pac::timer2::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, interrupt flag and DMA request set on every capture
EVERYSECONDEDGE
1: PRS output pulse, interrupt flag and DMA request set on every second capture
RISING
2: PRS output pulse, interrupt flag and DMA request set on rising edge only (if ICEDGE = BOTH)
FALLING
3: PRS output pulse, interrupt flag and DMA request set on falling edge only (if ICEDGE = BOTH)
Trait Implementations
sourceimpl Clone for ICEVCTRL_A
impl Clone for ICEVCTRL_A
sourcefn clone(&self) -> ICEVCTRL_A
fn clone(&self) -> ICEVCTRL_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ICEVCTRL_A
impl Debug for ICEVCTRL_A
sourceimpl From<ICEVCTRL_A> for u8
impl From<ICEVCTRL_A> for u8
sourcefn from(variant: ICEVCTRL_A) -> Self
fn from(variant: ICEVCTRL_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ICEVCTRL_A> for ICEVCTRL_A
impl PartialEq<ICEVCTRL_A> for ICEVCTRL_A
impl Copy for ICEVCTRL_A
impl StructuralPartialEq for ICEVCTRL_A
Auto Trait Implementations
impl RefUnwindSafe for ICEVCTRL_A
impl Send for ICEVCTRL_A
impl Sync for ICEVCTRL_A
impl Unpin for ICEVCTRL_A
impl UnwindSafe for ICEVCTRL_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more