34#ifndef HSC_PARAM_I2C_DEV
35#define HSC_PARAM_I2C_DEV I2C_DEV(0)
37#ifndef HSC_PARAM_I2C_ADDR
38#define HSC_PARAM_I2C_ADDR CONFIG_HSC_I2C_ADDR
40#ifndef HSC_PARAM_RANGE
41#define HSC_PARAM_RANGE CONFIG_HSC_RANGE
45#define HSC_PARAMS { .i2c_dev = HSC_PARAM_I2C_DEV, \
46 .i2c_addr = HSC_PARAM_I2C_ADDR, \
47 .hsc_range = HSC_PARAM_RANGE, }
50#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.