Enum stm32_hal2::gpio::Edge
source · pub enum Edge {
Rising,
Falling,
Either,
}
Expand description
The pulse edge used to trigger interrupts. Either rising, falling, or either.
Variants
Rising
Interrupts trigger on rising pin edge.
Falling
Interrupts trigger on falling pin edge.
Either
Interrupts trigger on either rising or falling pin edges.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnwindSafe for Edge
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