[][src]Module avr_hal_generic::port::mode

GPIO pin modes

Structs

Analog

Pin is configured as an analog input (for the ADC).

AnyInput

Any input (floating or pulled-up), used like Input<AnyInput>.

Floating

Floating input, used like Input<Floating>.

Input

Pin is configured as digital input (floating or pulled-up).

OpenDrain

Pin is configured as a digital output with open drain behaviour

Output

Pin is configured as a digital output.

PullUp

Pulled-up input, used like Input<PullUp>.

PwmOutput

Traits

InputMode
Io