Default configuration for ADCXX1C devices. More...
Default configuration for ADCXX1C devices.
Definition in file adcxx1c_params.h.
Go to the source code of this file.
Macros | |
#define | ADCXX1C_PARAM_I2C (I2C_DEV(0)) |
I2C device to use. | |
#define | ADCXX1C_PARAM_ADDR (ADCXX1C_I2C_ADDRESS) |
I2C address. | |
#define | ADCXX1C_PARAM_BITS (ADCXX1C_RES_DEFAULT) |
Resolution in bits. | |
#define | ADCXX1C_PARAM_CYCLE (ADCXX1C_CYCLE_DISABLED) |
Conversion interval. | |
#define | ADCXX1C_PARAM_ALERT_PIN (GPIO_UNDEF) |
Alert gpio pin. | |
#define | ADCXX1C_PARAM_LOW_LIMIT (0) |
Low limit for the alert. | |
#define | ADCXX1C_PARAM_HIGH_LIMIT (0) |
High limit for the alert. | |
#define | ADCXX1C_PARAM_HYSTERESIS (0) |
Hysteresis for the alert. | |
#define | ADCXX1C_PARAMS |
ADCXX1C driver configuration structures. More... | |
#define | ADCXX1C_SAUL_INFO { .name = "adcxx1c" } |
ADCXX1C driver SAUL registry information structures. | |
Variables | |
static const adcxx1c_params_t | adcxx1c_params [] |
ADCXX1C configuration. More... | |
static const saul_reg_info_t | adcxx1c_saul_info [] |
Additional meta information to keep in the SAUL registry. More... | |
#define ADCXX1C_PARAMS |
ADCXX1C driver configuration structures.
Definition at line 83 of file adcxx1c_params.h.
|
static |
ADCXX1C configuration.
Definition at line 103 of file adcxx1c_params.h.
|
static |
Additional meta information to keep in the SAUL registry.
Definition at line 112 of file adcxx1c_params.h.