pub enum InterruptMode {
RisingEdge,
FallingEdge,
HighLevel,
LowLevel,
}
Expand description
Enum for selecting which edge to trigger interrupts on.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InterruptMode
impl RefUnwindSafe for InterruptMode
impl Send for InterruptMode
impl Sync for InterruptMode
impl Unpin for InterruptMode
impl UnwindSafe for InterruptMode
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