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

pub struct ExtInt3<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> ExtInt3<GPIO>[src]

pub fn new(pin: GPIO) -> ExtInt3<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<ExtInt3<Pin<PA03, Alternate<A>>>> for Pin<PA03, MODE> where
    MODE: PinMode
[src]

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

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

Auto Trait Implementations

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

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

impl<GPIO> Unpin for ExtInt3<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.