Enum stm32_metapac::dmamux::vals::Pol
#[repr(u8)]pub enum Pol {
NO_EDGE = 0,
RISING_EDGE = 1,
FALLING_EDGE = 2,
BOTH_EDGES = 3,
}
Variants§
NO_EDGE = 0
No event, i.e. no synchronization nor detection
RISING_EDGE = 1
Rising edge
FALLING_EDGE = 2
Falling edge
BOTH_EDGES = 3
Rising and falling edges
Implementations§
Trait Implementations§
§impl Ord for Pol
impl Ord for Pol
§impl PartialOrd for Pol
impl PartialOrd for Pol
impl Copy for Pol
impl Eq for Pol
impl StructuralPartialEq for Pol
Auto Trait Implementations§
impl Freeze for Pol
impl RefUnwindSafe for Pol
impl Send for Pol
impl Sync for Pol
impl Unpin for Pol
impl UnwindSafe for Pol
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
)