Expand description
Manages an MCP23017, a 16-Bit I2C I/O Expander with Serial Interface module.
This operates the chip in IOCON.BANK=0
mode, i.e. the registers are mapped sequentially.
This driver does not set IOCON.BANK
, but the factory default is 0
and this driver does
not change that value.
See the datasheet for more information on the device.
Structs§
- MCP23017
- Struct for an MCP23017. See the crate-level documentation for general info on the device and the operation of this driver.
Enums§
- Error
- Defines errors
- Interrupt
Mode - Interrupt modes.
- PinMode
- Pin modes.
- Polarity
- Polarity modes.
- Port
- Generic port definitions.