pub enum InterruptMode {
RisingEdge,
FallingEdge,
HighLevel,
LowLevel,
}
Expand description
Enum for selecting which edge to trigger interrupts on.
Variants
RisingEdge
FallingEdge
HighLevel
LowLevel
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InterruptMode
impl Send for InterruptMode
impl Sync for InterruptMode
impl Unpin for InterruptMode
impl UnwindSafe for InterruptMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more