[][src]Struct atsam4_hal::gpio::Pa31

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

Implementations

impl<MODE> Pa31<MODE>[src]

pub fn into_peripheral_function_a(self) -> Pa31<PfA>[src]

pub fn into_peripheral_function_b(self) -> Pa31<PfB>[src]

pub fn into_peripheral_function_c(self) -> Pa31<PfC>[src]

pub fn into_peripheral_function_d(self) -> Pa31<PfD>[src]

pub fn into_floating_input(self) -> Pa31<Input<Floating>>[src]

pub fn into_pull_down_input(self) -> Pa31<Input<PullDown>>[src]

pub fn into_pull_up_input(self) -> Pa31<Input<PullUp>>[src]

pub fn into_open_drain_output(self) -> Pa31<Output<OpenDrain>>[src]

Configures the pin to operate as an open drain output

pub fn into_push_pull_output(self) -> Pa31<Output<PushPull>>[src]

Configures the pin to operate as a push-pull output

Trait Implementations

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

type Error = ()

Error type

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

type Error = ()

Error type

Auto Trait Implementations

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

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

impl<MODE> Unpin for Pa31<MODE> where
    MODE: Unpin

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> InputPin for T where
    T: InputPin
[src]

type Error = ()

Error type

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

impl<T> OutputPin for T where
    T: OutputPin
[src]

type Error = ()

Error type

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.