Enum stm32_metapac::gpdma::vals::Trigpol
#[repr(u8)]pub enum Trigpol {
NONE = 0,
RISINGEDGE = 1,
FALLINGEDGE = 2,
NONEALT = 3,
}
Variants§
NONE = 0
no trigger (masked trigger event)
RISINGEDGE = 1
trigger on the rising edge
FALLINGEDGE = 2
trigger on the falling edge
NONEALT = 3
same as 00
Implementations§
Trait Implementations§
§impl Ord for Trigpol
impl Ord for Trigpol
§impl PartialOrd for Trigpol
impl PartialOrd for Trigpol
§fn partial_cmp(&self, other: &Trigpol) -> Option<Ordering>
fn partial_cmp(&self, other: &Trigpol) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Trigpol
impl Eq for Trigpol
impl StructuralEq for Trigpol
impl StructuralPartialEq for Trigpol
Auto Trait Implementations§
impl RefUnwindSafe for Trigpol
impl Send for Trigpol
impl Sync for Trigpol
impl Unpin for Trigpol
impl UnwindSafe for Trigpol
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