pub enum WP2_A {
RisingEdge,
FallingEdge,
}
Expand description
Wakeup pin WKUP2 polarity
Value on reset: 0
Variants
RisingEdge
0: Detection on high level (rising edge)
FallingEdge
1: Detection on low level (falling edge)
Trait Implementations
impl Copy for WP2_A
impl StructuralPartialEq for WP2_A
Auto Trait Implementations
impl RefUnwindSafe for WP2_A
impl Send for WP2_A
impl Sync for WP2_A
impl Unpin for WP2_A
impl UnwindSafe for WP2_A
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