[][src]Enum stm32l0xx_hal::device::syscfg::exticr2::EXTI5R

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

Possible values of the field EXTI5

Variants

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

PE5

Select PE5 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_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_pe5(&self) -> bool[src]

Checks if the value of the field is PE5

Trait Implementations

impl PartialEq<EXTI5R> for EXTI5R[src]

impl Debug for EXTI5R[src]

impl Copy for EXTI5R[src]

impl Clone for EXTI5R[src]

Auto Trait Implementations

impl Unpin for EXTI5R

impl Send for EXTI5R

impl Sync for EXTI5R

Blanket Implementations

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self