pub enum TriggerEdge {
Falling,
Rising,
Any,
}Expand description
Defines the edge triggering mode for EXTI interrupts
This enum specifies which signal edges should trigger an EXTI interrupt:
Falling: Only falling edges (high to low transitions) trigger interruptsRising: Only rising edges (low to high transitions) trigger interruptsAny: Both rising and falling edges trigger interrupts
Variants§
Falling
Detect only falling edges (high to low transitions)
Rising
Detect only rising edges (low to high transitions)
Any
Detect both rising and falling edges
Auto Trait Implementations§
impl Freeze for TriggerEdge
impl RefUnwindSafe for TriggerEdge
impl Send for TriggerEdge
impl Sync for TriggerEdge
impl Unpin for TriggerEdge
impl UnwindSafe for TriggerEdge
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