Enum stm32_metapac::lpdma::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
impl Copy for Trigpol
impl Eq for Trigpol
impl StructuralPartialEq for Trigpol
Auto Trait Implementations§
impl Freeze for Trigpol
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)