Loading...
Searching...
No Matches

Default configuration for Sensirion SHT30/SHT31/SHT35 devices. More...

Detailed Description

Default configuration for Sensirion SHT30/SHT31/SHT35 devices.

Author
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net

Definition in file sht3x_params.h.

#include "board.h"
#include "sht3x.h"
#include "saul_reg.h"
+ Include dependency graph for sht3x_params.h:

Go to the source code of this file.

Variables

static const sht3x_params_t sht3x_params []
 SHT3x configuration.
 
static const saul_reg_info_t sht3x_saul_info []
 Additional meta information to keep in the SAUL registry.
 

SHT3x default configuration parameters

#define SHT3X_PARAM_I2C_DEV   (I2C_DEV(0))
 
#define SHT3X_PARAM_I2C_ADDR   (SHT3X_I2C_ADDR_2)
 
#define SHT3X_PARAM_MODE   (SHT3X_PERIODIC_2_MPS)
 
#define SHT3X_PARAM_REPEAT   (SHT3X_HIGH)
 
#define SHT3X_PARAMS
 
#define SHT3X_SAUL_INFO   { .name = "sht3x1" }
 

Macro Definition Documentation

◆ SHT3X_PARAM_I2C_ADDR

#define SHT3X_PARAM_I2C_ADDR   (SHT3X_I2C_ADDR_2)

Definition at line 36 of file sht3x_params.h.

◆ SHT3X_PARAM_I2C_DEV

#define SHT3X_PARAM_I2C_DEV   (I2C_DEV(0))

Definition at line 33 of file sht3x_params.h.

◆ SHT3X_PARAM_MODE

#define SHT3X_PARAM_MODE   (SHT3X_PERIODIC_2_MPS)

Definition at line 39 of file sht3x_params.h.

◆ SHT3X_PARAM_REPEAT

#define SHT3X_PARAM_REPEAT   (SHT3X_HIGH)

Definition at line 42 of file sht3x_params.h.

◆ SHT3X_PARAMS

#define SHT3X_PARAMS
Value:
{ .i2c_dev = SHT3X_PARAM_I2C_DEV, \
.i2c_addr = SHT3X_PARAM_I2C_ADDR, \
.mode = SHT3X_PARAM_MODE, \
.repeat = SHT3X_PARAM_REPEAT \
}
#define SHT3X_PARAM_I2C_DEV
I2C device.
Definition board.h:78
#define SHT3X_PARAM_I2C_ADDR
I2C address.
Definition board.h:79

Definition at line 46 of file sht3x_params.h.

◆ SHT3X_SAUL_INFO

#define SHT3X_SAUL_INFO   { .name = "sht3x1" }

Definition at line 54 of file sht3x_params.h.

Variable Documentation

◆ sht3x_params

const sht3x_params_t sht3x_params[]
static
Initial value:
=
{
SHT3X_PARAMS
}

SHT3x configuration.

Definition at line 61 of file sht3x_params.h.

◆ sht3x_saul_info

const saul_reg_info_t sht3x_saul_info[]
static
Initial value:
=
{
SHT3X_SAUL_INFO
}

Additional meta information to keep in the SAUL registry.

Definition at line 69 of file sht3x_params.h.