Struct containing the peripheral configuration. More...
Struct containing the peripheral configuration.
Definition at line 464 of file mcp23x17.h.
#include <mcp23x17.h>
Data Fields | |
| uint8_t | addr |
| MCP2317 device address. More... | |
| gpio_t | int_pin |
GPIO pin used for combined INTA/INTB signal. More... | |
| gpio_t | reset_pin |
GPIO pin used for RESET signal. | |
| mcp23x17_if_params_t | if_params |
| specific I2C/SPI interface parameters | |
| uint8_t mcp23x17_params_t::addr |
MCP2317 device address.
The MCP2317 device address is the address configured via the hardware address pins A0 ... A2 of the MCP23x17 device. It is in the range from 0 to 7. The address is used internally by the driver as an offset to the base address MCP23X17_BASE_ADDR to derive the complete device address.
Definition at line 479 of file mcp23x17.h.
| gpio_t mcp23x17_params_t::int_pin |
GPIO pin used for combined INTA/INTB signal.
Each device must use its own GPIO pin for its combined INTA/INTB signal.
Definition at line 480 of file mcp23x17.h.