[][src]Enum stm32l0xx_hal::stm32::syscfg::exticr1::EXTI0R

pub enum EXTI0R {
    PA0,
    PB0,
    PC0,
    PD0,
    PE0,
    PH0,
    _Reserved(u8),
}

Possible values of the field EXTI0

Variants

PA0

Select PA0 as the source input for the EXTI0 external interrupt

PB0

Select PB0 as the source input for the EXTI0 external interrupt

PC0

Select PC0 as the source input for the EXTI0 external interrupt

PD0

Select PD0 as the source input for the EXTI0 external interrupt

PE0

Select PE0 as the source input for the EXTI0 external interrupt

PH0

Select PH0 as the source input for the EXTI0 external interrupt

_Reserved(u8)

Reserved

Methods

impl EXTI0R[src]

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

Value of the field as raw bits

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

Checks if the value of the field is PA0

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

Checks if the value of the field is PB0

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

Checks if the value of the field is PC0

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

Checks if the value of the field is PD0

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

Checks if the value of the field is PE0

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

Checks if the value of the field is PH0

Trait Implementations

impl PartialEq<EXTI0R> for EXTI0R[src]

impl Debug for EXTI0R[src]

impl Copy for EXTI0R[src]

impl Clone for EXTI0R[src]

Auto Trait Implementations

impl Unpin for EXTI0R

impl Send for EXTI0R

impl Sync for EXTI0R

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