Enum tm4c123x_hal::gpio::InterruptMode
source · pub enum InterruptMode {
LevelLow,
LevelHigh,
EdgeRising,
EdgeFalling,
EdgeBoth,
Disabled,
}
Expand description
Sets when a GPIO pin triggers an interrupt.
Variants
LevelLow
Interrupt when level is low
LevelHigh
Interrupt when level is high
EdgeRising
Interrupt on rising edge
EdgeFalling
Interrupt on falling edge
EdgeBoth
Interrupt on both rising and falling edges
Disabled
Disable interrupts on this pin
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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