Loading...
Searching...
No Matches

Default parameters for the SHTCX Temperature and humidity sensor. More...

Detailed Description

Default parameters for the SHTCX Temperature and humidity sensor.

Author
Steffen Robertz steff.nosp@m.en.r.nosp@m.obert.nosp@m.z@rw.nosp@m.th-aa.nosp@m.chen.nosp@m..de
Josua Arndt jarnd.nosp@m.t@ia.nosp@m.s.rwt.nosp@m.h-aa.nosp@m.chen..nosp@m.de

Definition in file shtcx_params.h.

#include "board.h"
#include "shtcx.h"
#include "shtcx_regs.h"
#include "saul_reg.h"
+ Include dependency graph for shtcx_params.h:

Go to the source code of this file.

Variables

static const shtcx_params_t shtcx_params []
 Allocation of SHTCX configuration.
 
static const saul_reg_info_t shtcx_saul_info []
 Configure SAUL registry entries.
 

Default configuration parameters for SHTCX sensors

#define SHTCX_PARAM_I2C_DEV   (I2C_DEV(0))
 Default I2C BUS used.
 
#define SHTCX_PARAM_I2C_ADDR   SHTCX_I2C_ADDRESS
 I2C Address.
 
#define SHTCX_PARAMS
 
#define SHTCX_SAUL_INFO
 

Macro Definition Documentation

◆ SHTCX_PARAM_I2C_ADDR

#define SHTCX_PARAM_I2C_ADDR   SHTCX_I2C_ADDRESS

I2C Address.

Definition at line 41 of file shtcx_params.h.

◆ SHTCX_PARAM_I2C_DEV

#define SHTCX_PARAM_I2C_DEV   (I2C_DEV(0))

Default I2C BUS used.

Definition at line 38 of file shtcx_params.h.

◆ SHTCX_PARAMS

#define SHTCX_PARAMS
Value:
{ .i2c_dev = SHTCX_PARAM_I2C_DEV, \
.i2c_addr = SHTCX_PARAM_I2C_ADDR }
#define SHTCX_PARAM_I2C_DEV
Default I2C BUS used.
#define SHTCX_PARAM_I2C_ADDR
I2C Address.

Definition at line 45 of file shtcx_params.h.

◆ SHTCX_SAUL_INFO

#define SHTCX_SAUL_INFO
Value:
{ .name = "shtcx temperature" }, \
{ .name = "shtcx humidity" }

Definition at line 49 of file shtcx_params.h.

Variable Documentation

◆ shtcx_params

const shtcx_params_t shtcx_params[]
static
Initial value:
=
{
SHTCX_PARAMS
}

Allocation of SHTCX configuration.

Definition at line 57 of file shtcx_params.h.

◆ shtcx_saul_info

const saul_reg_info_t shtcx_saul_info[]
static
Initial value:
=
{
SHTCX_SAUL_INFO
}

Configure SAUL registry entries.

Definition at line 65 of file shtcx_params.h.