[][src]Struct trellis_m4::eic::pin::ExtInt0

pub struct ExtInt0<GPIO>(_);

Represents a numbered external interrupt. The external interrupt is generic over any pin, only the EicPin implementations in this module make sense.

Implementations

impl<GPIO> ExtInt0<GPIO>[src]

pub fn new(pin: GPIO) -> ExtInt0<GPIO>[src]

Construct pad from the appropriate pin in any mode. You may find it more convenient to use the into_pad trait and avoid referencing the pad type.

pub fn enable_event(&mut self, eic: &mut ConfigurableEIC)[src]

pub fn enable_interrupt(&mut self, eic: &mut ConfigurableEIC)[src]

pub fn disable_interrupt(&mut self, eic: &mut ConfigurableEIC)[src]

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

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

pub fn clear_interrupt(&mut self)[src]

pub fn sense(&mut self, _eic: &mut ConfigurableEIC, sense: SENSE0_A)[src]

pub fn filter(&mut self, _eic: &mut ConfigurableEIC, filter: bool)[src]

Trait Implementations

impl<MODE> EicPin<ExtInt0<Pin<PA00, Alternate<A>>>> for Pin<PA00, MODE> where
    MODE: PinMode
[src]

impl<MODE> EicPin<ExtInt0<Pin<PA16, Alternate<A>>>> for Pin<PA16, MODE> where
    MODE: PinMode
[src]

Auto Trait Implementations

impl<GPIO> Send for ExtInt0<GPIO> where
    GPIO: Send
[src]

impl<GPIO> Sync for ExtInt0<GPIO> where
    GPIO: Sync
[src]

impl<GPIO> Unpin for ExtInt0<GPIO> where
    GPIO: Unpin
[src]

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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.