[][src]Struct atsam4_hal::gpio::Pc23

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

Implementations

impl<MODE> Pc23<MODE>[src]

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

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

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

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

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

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

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

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

Configures the pin to operate as an open drain output

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

Configures the pin to operate as a push-pull output

Trait Implementations

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

type Error = ()

Error type

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

type Error = ()

Error type

Auto Trait Implementations

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

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

impl<MODE> Unpin for Pc23<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.