35#ifndef HSC_PARAM_I2C_DEV
36#define HSC_PARAM_I2C_DEV I2C_DEV(0)
38#ifndef HSC_PARAM_I2C_ADDR
39#define HSC_PARAM_I2C_ADDR CONFIG_HSC_I2C_ADDR
41#ifndef HSC_PARAM_RANGE
42#define HSC_PARAM_RANGE CONFIG_HSC_RANGE
46#define HSC_PARAMS { .i2c_dev = HSC_PARAM_I2C_DEV, \
47 .i2c_addr = HSC_PARAM_I2C_ADDR, \
48 .hsc_range = HSC_PARAM_RANGE, }
51#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.