#[repr(u8)]pub enum Edgselselect {
NoEvtOutput = 0,
RisingEdge = 1,
FallingEdge = 2,
BothEdges = 3,
}
Expand description
Edge Detection Selection
Value on reset: 0
Variants§
NoEvtOutput = 0
0: No event output when using the resynchronized or synchronous path
RisingEdge = 1
1: Event detection only on the rising edge of the signal from the event generator when using the resynchronized or synchronous path
FallingEdge = 2
2: Event detection only on the falling edge of the signal from the event generator when using the resynchronized or synchronous path
BothEdges = 3
3: Event detection on rising and falling edges of the signal from the event generator when using the resynchronized or synchronous path
Trait Implementations§
Source§impl Clone for Edgselselect
impl Clone for Edgselselect
Source§fn clone(&self) -> Edgselselect
fn clone(&self) -> Edgselselect
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 Edgselselect
impl Debug for Edgselselect
Source§impl From<Edgselselect> for u8
impl From<Edgselselect> for u8
Source§fn from(variant: Edgselselect) -> Self
fn from(variant: Edgselselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Edgselselect
impl PartialEq for Edgselselect
impl Copy for Edgselselect
impl Eq for Edgselselect
impl IsEnum for Edgselselect
impl StructuralPartialEq for Edgselselect
Auto Trait Implementations§
impl Freeze for Edgselselect
impl RefUnwindSafe for Edgselselect
impl Send for Edgselselect
impl Sync for Edgselselect
impl Unpin for Edgselselect
impl UnwindSafe for Edgselselect
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