pub enum Event {
RisingEdge = 1,
FallingEdge = 2,
AnyEdge = 3,
LowLevel = 4,
HighLevel = 5,
}Expand description
Event used to trigger interrupts.
Variants§
RisingEdge = 1
Interrupts trigger on rising pin edge.
FallingEdge = 2
Interrupts trigger on falling pin edge.
AnyEdge = 3
Interrupts trigger on either rising or falling pin edges.
LowLevel = 4
Interrupts trigger on low level
HighLevel = 5
Interrupts trigger on high level
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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