Default configuration for SHT2x humidity and temperature sensor. More...
Default configuration for SHT2x humidity and temperature sensor.
Definition in file sht2x_params.h.
Include dependency graph for sht2x_params.h:Go to the source code of this file.
Macros | |
| #define | SHT2X_NUMOF ARRAY_SIZE(sht2x_params) |
| Get the number of configured SHT2X devices. | |
Variables | |
| static const sht2x_params_t | sht2x_params [] |
| Configure SHT2X. More... | |
| static const saul_reg_info_t | sht2x_saul_reg_info [SHT2X_NUMOF] |
| Configuration details of SAUL registry entries. More... | |
Default SHT2x hardware configuration | |
| #define | SHT2X_PARAM_I2C_DEV (I2C_DEV(0)) |
| I2C device used. | |
| #define | SHT2X_PARAM_I2C_ADDR (0x40) |
| I2C slave slave of the SHT2x sensor. | |
Default sensor configuration for the SHT2x sensor | |
| #define | SHT2X_PARAM_RESOLUTION (CONFIG_SHT2X_RESOLUTION) |
| SHT2x resolution. | |
| #define | SHT2X_PARAM_MEASURE_MODE (CONFIG_SHT2X_MEASURE_MODE) |
| SHT2x measurement mode. | |
| #define | SHT2X_PARAM_CRC_MODE (CONFIG_SHT2X_CRC_MODE) |
| SHT2x CRC mode. | |
| #define | SHT2X_PARAMS_DEFAULT |
| Default SHT2x parameter set. More... | |
| #define | SHT2X_SAUL_INFO { .name = "sht2x" } |
| Default SAUL device info. | |
| #define SHT2X_PARAMS_DEFAULT |
Default SHT2x parameter set.
Definition at line 96 of file sht2x_params.h.
|
static |
Configure SHT2X.
Definition at line 112 of file sht2x_params.h.
|
static |
Configuration details of SAUL registry entries.
This array contains static details of the sensors for each device. Please be aware that the indexes are used in auto_init_sht2x, so make sure the indexes match.
Definition at line 133 of file sht2x_params.h.