Default configuration for Texas Instruments PCF857X I2C I/O expanders. More...
Default configuration for Texas Instruments PCF857X I2C I/O expanders.
Definition in file pcf857x_params.h.
Go to the source code of this file.
Variables | |
static const pcf857x_params_t | pcf857x_params [] |
Allocate some memory to store the actual configuration. | |
static const pcf857x_saul_gpio_params_t | pcf857x_saul_gpio_params [] |
Additional meta information to keep in the SAUL registry. | |
Set default configuration parameters | |
#define | PCF857X_PARAM_DEV I2C_DEV(0) |
device is I2C_DEV(0) | |
#define | PCF857X_PARAM_ADDR (0) |
I2C slave address offset is 0. | |
#define | PCF857X_PARAM_EXP (PCF857X_EXP_PCF8575) |
PCF857X expander variant used depends on enabled pseudomodules. | |
#define | PCF857X_PARAM_INT_PIN (GPIO_UNDEF) |
MCU interrupt pin. | |
#define | PCF857X_PARAMS |
Default configuration parameter set. | |
#define | PCF857X_SAUL_GPIO_PARAMS |
Example for mapping expander pins to SAUL. | |
#define PCF857X_PARAM_ADDR (0) |
I2C slave address offset is 0.
Definition at line 40 of file pcf857x_params.h.
#define PCF857X_PARAM_DEV I2C_DEV(0) |
device is I2C_DEV(0)
Definition at line 35 of file pcf857x_params.h.
#define PCF857X_PARAM_EXP (PCF857X_EXP_PCF8575) |
PCF857X expander variant used depends on enabled pseudomodules.
Definition at line 46 of file pcf857x_params.h.
#define PCF857X_PARAM_INT_PIN (GPIO_UNDEF) |
MCU interrupt pin.
Definition at line 56 of file pcf857x_params.h.
#define PCF857X_PARAMS |
Default configuration parameter set.
Definition at line 62 of file pcf857x_params.h.
#define PCF857X_SAUL_GPIO_PARAMS |
Example for mapping expander pins to SAUL.
Definition at line 79 of file pcf857x_params.h.
|
static |
Allocate some memory to store the actual configuration.
Definition at line 103 of file pcf857x_params.h.
|
static |
Additional meta information to keep in the SAUL registry.
Definition at line 112 of file pcf857x_params.h.