Struct atmega32u4_hal::port::portd::PD4[][src]

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

Pin

Methods

impl<MODE> PD4<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> PD4<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 PD4<Output>
[src]

Drives the pin high Read more

Drives the pin low Read more

impl StatefulOutputPin for PD4<Output>
[src]

Is the pin in drive high mode? Read more

Is the pin in drive low mode? Read more

impl Default for PD4<Output>
[src]

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

Is the input pin high?

Is the input pin low?

Auto Trait Implementations

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

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