Loading...
Searching...
No Matches

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.
 

Field Documentation

◆ dev

uint8_t mcp23x17_saul_gpio_params_t::dev

MCP23x17 device index.

Definition at line 540 of file mcp23x17.h.

◆ gpio

saul_gpio_params_t mcp23x17_saul_gpio_params_t::gpio

GPIO configuration for mapping to SAUL.

Definition at line 541 of file mcp23x17.h.


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