[][src]Struct itsybitsy_m0::gpio::Pb19

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

Represents the IO pin with the matching name.

Methods

impl<MODE> Pb19<MODE>[src]

pub fn into_floating_input(self, port: &mut Port) -> Pb19<Input<Floating>>[src]

Configures the pin to operate as a floating input

pub fn into_pull_down_input(self, port: &mut Port) -> Pb19<Input<PullDown>>[src]

Configures the pin to operate as a pulled down input pin

pub fn into_pull_up_input(self, port: &mut Port) -> Pb19<Input<PullUp>>[src]

Configures the pin to operate as a pulled up input pin

pub fn into_open_drain_output(self, port: &mut Port) -> Pb19<Output<OpenDrain>>[src]

Configures the pin to operate as an open drain output

pub fn into_push_pull_output(self, port: &mut Port) -> Pb19<Output<PushPull>>[src]

Configures the pin to operate as a push-pull output

impl Pb19<Output<OpenDrain>>[src]

pub fn internal_pull_up(&mut self, port: &mut Port, on: bool)[src]

Control state of the internal pull up

impl<MODE> Pb19<Output<MODE>>[src]

pub fn toggle(&mut self)[src]

Toggle the logic level of the pin; if it is currently high, set it low and vice versa.

impl<MODE> Pb19<MODE>[src]

pub fn into_function_a(self, port: &mut Port) -> Pb19<PfA>[src]

Configures the pin to operate with a peripheral

impl<MODE> Pb19<MODE>[src]

pub fn into_function_b(self, port: &mut Port) -> Pb19<PfB>[src]

Configures the pin to operate with a peripheral

impl<MODE> Pb19<MODE>[src]

pub fn into_function_c(self, port: &mut Port) -> Pb19<PfC>[src]

Configures the pin to operate with a peripheral

impl<MODE> Pb19<MODE>[src]

pub fn into_function_d(self, port: &mut Port) -> Pb19<PfD>[src]

Configures the pin to operate with a peripheral

impl<MODE> Pb19<MODE>[src]

pub fn into_function_e(self, port: &mut Port) -> Pb19<PfE>[src]

Configures the pin to operate with a peripheral

impl<MODE> Pb19<MODE>[src]

pub fn into_function_f(self, port: &mut Port) -> Pb19<PfF>[src]

Configures the pin to operate with a peripheral

impl<MODE> Pb19<MODE>[src]

pub fn into_function_g(self, port: &mut Port) -> Pb19<PfG>[src]

Configures the pin to operate with a peripheral

impl<MODE> Pb19<MODE>[src]

pub fn into_function_h(self, port: &mut Port) -> Pb19<PfH>[src]

Configures the pin to operate with a peripheral

Trait Implementations

impl<MODE> IntoFunction<Pb19<PfE>> for Pb19<MODE>[src]

impl<MODE> IntoFunction<Pb19<PfC>> for Pb19<MODE>[src]

impl<MODE> IntoFunction<Pb19<PfG>> for Pb19<MODE>[src]

impl<MODE> IntoFunction<Pb19<PfA>> for Pb19<MODE>[src]

impl<MODE> IntoFunction<Pb19<PfD>> for Pb19<MODE>[src]

impl<MODE> IntoFunction<Pb19<PfB>> for Pb19<MODE>[src]

impl<MODE> IntoFunction<Pb19<PfH>> for Pb19<MODE>[src]

impl<MODE> IntoFunction<Pb19<PfF>> for Pb19<MODE>[src]

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

Auto Trait Implementations

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

impl<MODE> Sync for Pb19<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 = Infallible

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

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]