Crate mcp230xx

Crate mcp230xx 

Source

Structs§

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

Enums§

Direction
Pin modes.
Error
Defines errors
IntFlag
Interrupt flag.
IntMode
Interrupt control.
IntOnChange
Interrupt on change state.
Level
Pin levels.
Mcp23008
MCP23008 Register mapping See the datasheet for more information on the device.
Mcp23017
MCP23017 register map.
Polarity
Pin Input polarity inversion.
PullUp
Pin Pull Up state.
Register
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§

Map
Trait providing a register map of a chip variant