pub enum TriggerPolarity {
RisingEdge,
FallingEdge,
}Expand description
Input-trigger polarity for GPDMA triggered transfers.
Variants§
Trait Implementations§
Source§impl Clone for TriggerPolarity
impl Clone for TriggerPolarity
Source§fn clone(&self) -> TriggerPolarity
fn clone(&self) -> TriggerPolarity
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 TriggerPolarity
impl Debug for TriggerPolarity
Source§impl Format for TriggerPolarity
impl Format for TriggerPolarity
Source§impl From<TriggerPolarity> for Trigpol
impl From<TriggerPolarity> for Trigpol
Source§fn from(value: TriggerPolarity) -> Self
fn from(value: TriggerPolarity) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TriggerPolarity
impl PartialEq for TriggerPolarity
impl Copy for TriggerPolarity
impl Eq for TriggerPolarity
impl StructuralPartialEq for TriggerPolarity
Auto Trait Implementations§
impl Freeze for TriggerPolarity
impl RefUnwindSafe for TriggerPolarity
impl Send for TriggerPolarity
impl Sync for TriggerPolarity
impl Unpin for TriggerPolarity
impl UnwindSafe for TriggerPolarity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToMutAligned for Twhere
T: ?Sized,
impl<T> ToMutAligned for Twhere
T: ?Sized,
Source§fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
Create a type-checked aligned value from a value that is aligned.