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

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

Pin

Methods

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

Turn this pin into a floating input

Turn this pin into a pull up input

Turn this pin into an output input

impl PD7<Output>
[src]

Make this pin a PWM pin

Pin needs to be an output pin to be turned into a PWM pin.

Trait Implementations

impl OutputPin for PD7<Output>
[src]

Drives the pin high Read more

Drives the pin low Read more

impl StatefulOutputPin for PD7<Output>
[src]

Is the pin in drive high mode? Read more

Is the pin in drive low mode? Read more

impl Default for PD7<Output>
[src]

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

Is the input pin high?

Is the input pin low?

impl PwmPin for PD7<Pwm<Timer4Pwm>>
[src]

Type for the duty methods Read more

Disables a PWM channel

Enables a PWM channel

Returns the current duty cycle

Returns the maximum duty cycle value

Sets a new duty cycle

Auto Trait Implementations

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

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