[−][src]Crate mcp23017
Manages a new MCP23017, a 16-Bit I2C I/O Expander with Serial Interface module
Structs
MCP23017 | Struct for MCP23017. It provides 16-bit, general purpose parallel I/O expansion for I2C bus. It consists of multiple 8-bit configuration registers for input, output and polarity selection. The system master can enable the I/Os as either inputs or outputs by writing the I/O configuration bits (IODIRA/B). The data for each input or output is kept in the corresponding input or output register. The polarity of the Input Port register can be inverted with the Polarity Inversion register |
Enums
Error | Defines errors |
InterruptMode | Interrupt modes |
PinMode | Pin modes |
Polarity | Polarity modes |
Port | Generic port definition |