All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

Default configuration for Sensirion SPS30 sensors devices. More...

Detailed Description

Default configuration for Sensirion SPS30 sensors devices.

Author
Michel Rottleuthner miche.nosp@m.l.ro.nosp@m.ttleu.nosp@m.thne.nosp@m.r@haw.nosp@m.-ham.nosp@m.burg..nosp@m.de

Definition in file sps30_params.h.

#include "board.h"
#include "sps30.h"
#include "saul_reg.h"
+ Include dependency graph for sps30_params.h:

Go to the source code of this file.

Macros

#define SPS30_NUM   ARRAY_SIZE(sps30_params)
 Define the number of configured sensors.
 
#define SPS30_INFO_NUM   ARRAY_SIZE(sps30_saul_info)
 Number of saul info structs.
 

Variables

static const sps30_params_t sps30_params []
 SPS30 configuration.
 
static const saul_reg_info_t sps30_saul_info []
 Additional meta information to keep in the SAUL registry.
 

SPS30 default configuration parameters

#define SPS30_PARAM_I2C_DEV   (I2C_DEV(0))
 
#define SPS30_PARAMS   { .i2c_dev = SPS30_PARAM_I2C_DEV }
 
#define SPS30_SAUL_INFO   { .name = "sps30" }
 

Macro Definition Documentation

◆ SPS30_INFO_NUM

#define SPS30_INFO_NUM   ARRAY_SIZE(sps30_saul_info)

Number of saul info structs.

Definition at line 67 of file sps30_params.h.

◆ SPS30_NUM

#define SPS30_NUM   ARRAY_SIZE(sps30_params)

Define the number of configured sensors.

Definition at line 54 of file sps30_params.h.

◆ SPS30_PARAM_I2C_DEV

#define SPS30_PARAM_I2C_DEV   (I2C_DEV(0))

Definition at line 33 of file sps30_params.h.

◆ SPS30_PARAMS

#define SPS30_PARAMS   { .i2c_dev = SPS30_PARAM_I2C_DEV }

Definition at line 36 of file sps30_params.h.

◆ SPS30_SAUL_INFO

#define SPS30_SAUL_INFO   { .name = "sps30" }

Definition at line 39 of file sps30_params.h.

Variable Documentation

◆ sps30_params

const sps30_params_t sps30_params[]
static
Initial value:
=
{
SPS30_PARAMS
}

SPS30 configuration.

Definition at line 46 of file sps30_params.h.

◆ sps30_saul_info

const saul_reg_info_t sps30_saul_info[]
static
Initial value:
=
{
SPS30_SAUL_INFO
}

Additional meta information to keep in the SAUL registry.

Definition at line 59 of file sps30_params.h.