#[repr(u8)]
pub enum EXTI5_A {
PA5,
PB5,
PC5,
PD5,
PE5,
PF5,
PG5,
}
Expand description
EXTI 5 configuration bits
Value on reset: 0
Variants
PA5
0: Select PA5 as the source input for the EXTI5 external interrupt
PB5
1: Select PB5 as the source input for the EXTI5 external interrupt
PC5
2: Select PC5 as the source input for the EXTI5 external interrupt
PD5
3: Select PD5 as the source input for the EXTI5 external interrupt
PE5
4: Select PE5 as the source input for the EXTI5 external interrupt
PF5
5: Select PF5 as the source input for the EXTI5 external interrupt
PG5
6: Select PG5 as the source input for the EXTI5 external interrupt
Trait Implementations
impl Copy for EXTI5_A
impl StructuralPartialEq for EXTI5_A
Auto Trait Implementations
impl RefUnwindSafe for EXTI5_A
impl Send for EXTI5_A
impl Sync for EXTI5_A
impl Unpin for EXTI5_A
impl UnwindSafe for EXTI5_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