#[repr(u8)]pub enum ICEVCTRL_A {
EVERYEDGE = 0,
EVERYSECONDEDGE = 1,
RISING = 2,
FALLING = 3,
}
Expand description
Input Capture Event Control
Value on reset: 0
Variants§
EVERYEDGE = 0
0: PRS output pulse, interrupt flag and DMA request set on every capture
EVERYSECONDEDGE = 1
1: PRS output pulse, interrupt flag and DMA request set on every second capture
RISING = 2
2: PRS output pulse, interrupt flag and DMA request set on rising edge only (if ICEDGE = BOTH)
FALLING = 3
3: PRS output pulse, interrupt flag and DMA request 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 duplicate 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 for ICEVCTRL_A
impl PartialEq for ICEVCTRL_A
impl Copy for ICEVCTRL_A
impl StructuralPartialEq for ICEVCTRL_A
Auto Trait Implementations§
impl Freeze for ICEVCTRL_A
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more