scd30_params.h File Reference

Device driver params interface for the SCD30 sensor. More...

Detailed Description

Device driver params interface for the SCD30 sensor.

Author
Nishchay Agrawal f2016.nosp@m.088@.nosp@m.pilan.nosp@m.i.bi.nosp@m.ts-pi.nosp@m.lani.nosp@m..ac.i.nosp@m.n
Puhang Ding czars.nosp@m.ir@g.nosp@m.mail..nosp@m.com

Definition in file scd30_params.h.

#include "periph/i2c.h"
#include "scd30.h"
#include "saul_reg.h"
+ Include dependency graph for scd30_params.h:

Go to the source code of this file.

Macros

#define SCD30_NUMOF   ARRAY_SIZE(scd30_params)
 Get the number of configured SCD30 devices.
 

Variables

static const scd30_params_t scd30_params []
 Configure SCD30. More...
 
static const saul_reg_info_t scd30_saul_info []
 Configure SAUL registry entries. More...
 

SCD30 I2C address

#define SCD30_I2C_ADDR   0x61
 

Set default configuration parameters for the SCD30

#define SCD30_PARAM_I2C_DEV   I2C_DEV(0)
 
#define SCD30_PARAM_I2C_ADDR   SCD30_I2C_ADDR
 
#define SCD30_PARAMS
 
#define SCD30_SAUL_INFO   { .name = "scd30" }
 

Macro Definition Documentation

◆ SCD30_PARAMS

#define SCD30_PARAMS
Value:
{ .i2c_dev = SCD30_PARAM_I2C_DEV, \
.i2c_addr = SCD30_PARAM_I2C_ADDR }

Definition at line 52 of file scd30_params.h.

Variable Documentation

◆ scd30_params

const scd30_params_t scd30_params[]
static
Initial value:
=
{
SCD30_PARAMS
}

Configure SCD30.

Definition at line 64 of file scd30_params.h.

◆ scd30_saul_info

const saul_reg_info_t scd30_saul_info[]
static
Initial value:
=
{
SCD30_SAUL_INFO
}

Configure SAUL registry entries.

Definition at line 77 of file scd30_params.h.