Module max7301::expander::pin[][src]

APIs for interacting with I/O pins on the MAX7301 through an embedded-hal API.

Structs

PortPin

A single I/O pin on the MAX7301. These implement the embedded-hal traits for GPIO pins, so they can be used to transparently connect devices driven over GPIOs through the MAX7301 instead, using their embedded-hal-compatible drivers without modification.

Traits

ExpanderIO

An indirection between I/O pin abstractions and the expander itself, which allows selection between transactional reads and writes, which reduce bus traffic and latency, and immediate-mode reads and writes, which add more bus traffic and latency but are simpler to use.