Loading...
Searching...
No Matches
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.
 
static const saul_reg_info_t scd30_saul_info []
 Configure SAUL registry entries.
 

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_I2C_ADDR

#define SCD30_I2C_ADDR   0x61

Definition at line 37 of file scd30_params.h.

◆ SCD30_NUMOF

#define SCD30_NUMOF   ARRAY_SIZE(scd30_params)

Get the number of configured SCD30 devices.

Definition at line 72 of file scd30_params.h.

◆ SCD30_PARAM_I2C_ADDR

#define SCD30_PARAM_I2C_ADDR   SCD30_I2C_ADDR

Definition at line 48 of file scd30_params.h.

◆ SCD30_PARAM_I2C_DEV

#define SCD30_PARAM_I2C_DEV   I2C_DEV(0)

Definition at line 45 of file scd30_params.h.

◆ 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.

◆ SCD30_SAUL_INFO

#define SCD30_SAUL_INFO   { .name = "scd30" }

Definition at line 57 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.