Struct atmega32u4_hal::port::portb::PB0[][src]

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

Pin

Methods

impl<MODE> PB0<MODE>
[src]

Downgrade this pin into a more generic pin type

This allows storing multiple pins in an array. It does however come with some runtime overhead, so choose downgrade_port if possible.

Note: The mode of downgraded pins can no longer be changed.

Downgrade this pin into a more type generic over all pins of this port

This allows storing multiple pins of a port in an array

Note: The mode of downgraded pins can no longer be changed.

impl<MODE: Io> PB0<MODE>
[src]

Turn this pin into a floating input

Turn this pin into a pull up input

Turn this pin into an output input

Trait Implementations

impl OutputPin for PB0<Output>
[src]

Drives the pin high Read more

Drives the pin low Read more

impl StatefulOutputPin for PB0<Output>
[src]

Is the pin in drive high mode? Read more

Is the pin in drive low mode? Read more

impl Default for PB0<Output>
[src]

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

Is the input pin high?

Is the input pin low?

Auto Trait Implementations

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

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