Enum stm32f4xx_hal::gpio::Edge
source · pub enum Edge {
Rising,
Falling,
RisingFalling,
}
Expand description
GPIO interrupt trigger edge selection
Variants§
Rising
Rising edge of voltage
Falling
Falling edge of voltage
RisingFalling
Rising and falling edge of voltage
Trait Implementations§
source§impl PartialEq for Edge
impl PartialEq for Edge
impl Copy for Edge
impl Eq for Edge
impl StructuralEq for Edge
impl StructuralPartialEq for Edge
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§
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