31#ifndef HSC_PARAM_I2C_DEV
32#define HSC_PARAM_I2C_DEV I2C_DEV(0)
34#ifndef HSC_PARAM_I2C_ADDR
35#define HSC_PARAM_I2C_ADDR CONFIG_HSC_I2C_ADDR
37#ifndef HSC_PARAM_RANGE
38#define HSC_PARAM_RANGE CONFIG_HSC_RANGE
42#define HSC_PARAMS { .i2c_dev = HSC_PARAM_I2C_DEV, \
43 .i2c_addr = HSC_PARAM_I2C_ADDR, \
44 .hsc_range = HSC_PARAM_RANGE, }
47#define HSC_SAUL_INFO { .name = "hsc" }
Device driver interface for the HSC sensor.
Internal addresses, constants for the HSC sensor.
static const hsc_params_t hsc_params[]
Configure HSC.
static const saul_reg_info_t hsc_saul_info[]
Configure SAUL registry entries.
SAUL registry interface definition.
Device initialization parameters.
Additional data to collect for each entry.