Crate mcp230xx

source ·

Structs

  • MCP23017/MCP23008, a 16/8-Bit I2C I/O Expander with I2C Interface. Provide the chip variant (its register map) via MAP.

Enums

  • Pin modes.
  • Defines errors
  • Interrupt flag.
  • Interrupt control.
  • Interrupt on change state.
  • Pin levels.
  • MCP23008 Register mapping See the datasheet for more information on the device.
  • MCP23017 register map.
  • Pin Input polarity inversion.
  • Pin Pull Up state.
  • Base MCP230xx register map. This is the “semantic” map of the functionality of the cip family. The ultimate register addresses may be mapped differently depending on Map::map().

Traits

  • Trait providing a register map of a chip variant