Enum stm32f0xx_hal::stm32::syscfg::exticr1::EXTI2_A[][src]

#[repr(u8)]
pub enum EXTI2_A {
    PE2,
    PA2,
    PB2,
    PC2,
    PD2,
    PF2,
}
Expand description

EXTI 2 configuration bits

Value on reset: 0

Variants

PE2

4: Select PE2 as the source input for the EXTI2 external interrupt

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

PF2

5: Select PF2 as the source input for the EXTI2 external interrupt

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.