Module avr_oxide::hal::generic::port

source ·
Expand description

Generic I/O ports provided by the AVR microcontroller.

Modules§

Structs§

  • An internal ID for any given pin

Enums§

  • Interrupt generation mode for a pin
  • Identifies a particular pin as the source of an event at runtime.
  • Input/output mode for a pin

Traits§

  • Trait for getting a reference to the Port associated with a pin.

Type Aliases§

  • Callback called by a pin when it generates an interrupt. The callback is given the new state read from the pin (true = high). The callback should return a boolean: