Default configuration. More...
Default configuration.
Definition in file sgp30_params.h.
Go to the source code of this file.
Macros | |
#define | SGP30_NUM ARRAY_SIZE(sgp30_params) |
Define the number of configured sensors. | |
#define | SGP30_INFO_NUM ARRAY_SIZE(sgp30_saul_info) |
Number of saul info structs. | |
Variables | |
static const sgp30_params_t | sgp30_params [] |
SGP30 configuration. | |
static const saul_reg_info_t | sgp30_saul_info [] |
Additional meta information to keep in the SAUL registry. | |
Set default configuration parameters | |
#define | SGP30_PARAM_I2C_DEV (I2C_DEV(0)) |
#define | SGP30_PARAMS { .i2c_dev = SGP30_PARAM_I2C_DEV } |
#define | SGP30_SAUL_INFO { .name = "sgp30" } |
#define SGP30_INFO_NUM ARRAY_SIZE(sgp30_saul_info) |
Number of saul info structs.
Definition at line 70 of file sgp30_params.h.
#define SGP30_NUM ARRAY_SIZE(sgp30_params) |
Define the number of configured sensors.
Definition at line 57 of file sgp30_params.h.
#define SGP30_PARAM_I2C_DEV (I2C_DEV(0)) |
Definition at line 36 of file sgp30_params.h.
#define SGP30_PARAMS { .i2c_dev = SGP30_PARAM_I2C_DEV } |
Definition at line 39 of file sgp30_params.h.
#define SGP30_SAUL_INFO { .name = "sgp30" } |
Definition at line 42 of file sgp30_params.h.
|
static |
|
static |
Additional meta information to keep in the SAUL registry.
Definition at line 62 of file sgp30_params.h.