Default configuration for SHT2X. More...
Default configuration for SHT2X.
Definition in file 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... | |
#define | SHT2X_PARAM_I2C_DEV (I2C_DEV(0)) |
Set default configuration parameters for the SHT2X. | |
#define | SHT2X_PARAM_I2C_ADDR (0x40) |
#define | SHT2X_PARAM_RESOLUTION (SHT2X_RES_12_14BIT) |
#define | SHT2X_PARAM_MEASURE_MODE (SHT2X_MEASURE_MODE_HOLD) |
#define | SHT2X_PARAM_CRC_MODE (1) |
#define | SHT2X_PARAMS_DEFAULT |
#define | SHT2X_SAUL_INFO { .name = "sht2x" } |
#define SHT2X_PARAMS_DEFAULT |
Definition at line 53 of file sht2x_params.h.
|
static |
Configure SHT2X.
Definition at line 68 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 89 of file sht2x_params.h.