#[repr(u8)]
pub enum EXTI2_A {
Pa2,
Pb2,
Pc2,
}
Expand description
EXTI 2 configuration bits
Value on reset: 0
Variants
Pa2
0: Select PA2 as the source input for the EXTI2 external interrupt
Pb2
1: Select PB2 as the source input for the EXTI2 external interrupt
Pc2
2: Select PC2 as the source input for the EXTI2 external interrupt
Trait Implementations
impl Copy for EXTI2_A
impl StructuralPartialEq for EXTI2_A
Auto Trait Implementations
impl RefUnwindSafe for EXTI2_A
impl Send for EXTI2_A
impl Sync for EXTI2_A
impl Unpin for EXTI2_A
impl UnwindSafe for EXTI2_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