37#define SCD30_I2C_ADDR 0x61
44#ifndef SCD30_PARAM_I2C_DEV
45#define SCD30_PARAM_I2C_DEV I2C_DEV(0)
47#ifndef SCD30_PARAM_I2C_ADDR
48#define SCD30_PARAM_I2C_ADDR SCD30_I2C_ADDR
52#define SCD30_PARAMS { .i2c_dev = SCD30_PARAM_I2C_DEV, \
53 .i2c_addr = SCD30_PARAM_I2C_ADDR }
56#ifndef SCD30_SAUL_INFO
57#define SCD30_SAUL_INFO { .name = "scd30" }
72#define SCD30_NUMOF ARRAY_SIZE(scd30_params)
Low-level I2C peripheral driver interface definition.
SAUL registry interface definition.
Device driver interface for the SCD30 sensor.
static const saul_reg_info_t scd30_saul_info[]
Configure SAUL registry entries.
static const scd30_params_t scd30_params[]
Configure SCD30.
Additional data to collect for each entry.
Device initialization parameters.