[][src]Struct stm32f4xx_hal::gpio::gpioa::PA

pub struct PA<MODE> { /* fields omitted */ }

Partially erased pin

Methods

impl<MODE> PA<MODE>[src]

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

Trait Implementations

impl<MODE> ExtiPin for PA<Input<MODE>>[src]

fn make_interrupt_source(&mut self, syscfg: &mut SYSCFG)[src]

Make corresponding EXTI line sensitive to this pin

fn trigger_on_edge(&mut self, exti: &mut EXTI, edge: Edge)[src]

Generate interrupt on rising edge, falling edge or both

fn enable_interrupt(&mut self, exti: &mut EXTI)[src]

Enable external interrupts from this pin.

fn disable_interrupt(&mut self, exti: &mut EXTI)[src]

Disable external interrupts from this pin

fn clear_interrupt_pending_bit(&mut self, exti: &mut EXTI)[src]

Clear the interrupt pending bit for this pin

impl<MODE> OutputPin for PA<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for PA<Output<MODE>>[src]

impl<MODE> Default for PA<Output<MODE>>[src]

impl<MODE> InputPin for PA<Output<MODE>>[src]

impl<MODE> InputPin for PA<Input<MODE>>[src]

Auto Trait Implementations

impl<MODE> Send for PA<MODE> where
    MODE: Send

impl<MODE> Sync for PA<MODE> where
    MODE: Sync

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

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<P> ToggleableOutputPin for P where
    P: Default
[src]

fn toggle(&mut self)[src]

Toggle pin output