MCP23x17 configuration structure for mapping expander pins to SAUL. More...
MCP23x17 configuration structure for mapping expander pins to SAUL.
This data structure is an extension of the GPIO configuration structure for mapping GPIOs to SAUL. The only additional information required is a reference to the according MCP23x17 device.
saul_gpio
has to be added to the project. Definition at line 539 of file mcp23x17.h.
#include <mcp23x17.h>
Data Fields | |
uint8_t | dev |
MCP23x17 device index. | |
saul_gpio_params_t | gpio |
GPIO configuration for mapping to SAUL. | |