MCP23x17 configuration structure for mapping expander pins to SAUL. More...

Detailed Description

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.

Note
To use MCP23x17 with SAUL, module 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.
 

The documentation for this struct was generated from the following file: