#[repr(u8)]
pub enum EXTI2_A {
PA2,
PB2,
PC2,
PD2,
PE2,
PF2,
PG2,
PH2,
}
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
PD2
3: Select PD2 as the source input for the EXTI2 external interrupt
PE2
4: Select PE2 as the source input for the EXTI2 external interrupt
PF2
5: Select PF2 as the source input for the EXTI2 external interrupt
PG2
6: Select PG2 as the source input for the EXTI2 external interrupt
PH2
7: Select PH2 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