19#ifndef HDC1000_PARAMS_H
20#define HDC1000_PARAMS_H
34#ifndef HDC1000_PARAM_I2C
38#define HDC1000_PARAM_I2C I2C_DEV(0)
41#ifndef HDC1000_PARAM_ADDR
45#define HDC1000_PARAM_ADDR (CONFIG_HDC1000_I2C_ADDRESS)
48#ifndef HDC1000_PARAM_RES
52#define HDC1000_PARAM_RES HDC1000_14BIT
55#ifndef HDC1000_PARAM_RENEW_INTERVAL
59#define HDC1000_PARAM_RENEW_INTERVAL (1000000ul)
66#define HDC1000_PARAMS { .i2c = HDC1000_PARAM_I2C, \
67 .addr = HDC1000_PARAM_ADDR, \
68 .res = HDC1000_PARAM_RES, \
69 .renew_interval = HDC1000_PARAM_RENEW_INTERVAL }
72#ifndef HDC1000_SAUL_INFO
76#define HDC1000_SAUL_INFO { .name = "hdc1000" }
Interface definition for the HDC1000 sensor driver.
#define HDC1000_PARAMS
Parameters to initialize the HDC1000 driver with.
#define HDC1000_SAUL_INFO
SAUL info to register HDC1000 driver instances with.
static const hdc1000_params_t hdc1000_params[]
HDC1000 configuration.
static const saul_reg_info_t hdc1000_saul_info[]
Additional meta information to keep in the SAUL registry.
SAUL registry interface definition.
Parameters needed for device initialization.
Additional data to collect for each entry.