Go to the documentation of this file.
21 #ifndef SHTC1_PARAMS_H
22 #define SHTC1_PARAMS_H
37 #ifndef SHTC1_PARAM_I2C_DEV
38 #define SHTC1_PARAM_I2C_DEV (I2C_DEV(0))
40 #ifndef SHTC1_PARAM_I2C_ADDR
41 #define SHTC1_PARAM_I2C_ADDR SHTC1_I2C_ADDRESS
45 #define SHTC1_PARAMS { .i2c_dev = SHTC1_PARAM_I2C_DEV, \
46 .i2c_addr = SHTC1_PARAM_I2C_ADDR }
48 #ifndef SHTC1_SAUL_INFO
49 #define SHTC1_SAUL_INFO { .name = "shtc1 temperature" }, \
50 { .name = "shtc1 humidity" }
settings struct with all relevant parameters
Register definitions for SHTC1 devices.
Additional data to collect for each entry.
static const saul_reg_info_t shtc1_saul_info[]
Configure SAUL registry entries.
Device driver interface for the SHTC1 Temperature and humidity sensor.
SAUL registry interface definition.
static const shtc1_params_t shtc1_params[]
Allocation of SHTC1 configuration.