[][src]Enum stm32f0xx_hal::stm32::syscfg::exticr2::EXTI5R

pub enum EXTI5R {
    PE5,
    PA5,
    PB5,
    PC5,
    PD5,
    PF5,
    _Reserved(u8),
}

Possible values of the field EXTI5

Variants

PE5

Select PE5 as the source input for the EXTI5 external interrupt

PA5

Select PA5 as the source input for the EXTI5 external interrupt

PB5

Select PB5 as the source input for the EXTI5 external interrupt

PC5

Select PC5 as the source input for the EXTI5 external interrupt

PD5

Select PD5 as the source input for the EXTI5 external interrupt

PF5

Select PF5 as the source input for the EXTI5 external interrupt

_Reserved(u8)

Reserved

Methods

impl EXTI5R[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_pe5(&self) -> bool[src]

Checks if the value of the field is PE5

pub fn is_pa5(&self) -> bool[src]

Checks if the value of the field is PA5

pub fn is_pb5(&self) -> bool[src]

Checks if the value of the field is PB5

pub fn is_pc5(&self) -> bool[src]

Checks if the value of the field is PC5

pub fn is_pd5(&self) -> bool[src]

Checks if the value of the field is PD5

pub fn is_pf5(&self) -> bool[src]

Checks if the value of the field is PF5

Trait Implementations

impl PartialEq<EXTI5R> for EXTI5R[src]

impl Clone for EXTI5R[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for EXTI5R[src]

impl Debug for EXTI5R[src]

Auto Trait Implementations

impl Send for EXTI5R

impl Sync for EXTI5R

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self