Module atmega_hal::port::mode

source ·
Expand description

GPIO pin modes

Structs§

  • Pin is configured as an analog input (for the ADC).
  • Any input (floating or pulled-up), used like Input<AnyInput>.
  • Floating input, used like Input<Floating>.
  • Pin is configured as digital input (floating or pulled-up).
  • Pin is configured as a digital output with open drain behaviour
  • Pin is configured as a digital output.
  • Pulled-up input, used like Input<PullUp>.

Traits§