Default configuration for SHT10/SHT11/SHT15 devices. More...

Detailed Description

Default configuration for SHT10/SHT11/SHT15 devices.

Author
Marian Buschsieweke maria.nosp@m.n.bu.nosp@m.schsi.nosp@m.ewek.nosp@m.e@ovg.nosp@m.u.de

Definition in file sht1x_params.h.

#include "board.h"
#include "sht1x.h"
#include "saul_reg.h"
+ Include dependency graph for sht1x_params.h:

Go to the source code of this file.

Variables

static const sht1x_params_t sht1x_params []
 Configure SHT1X devices. More...
 
static const saul_reg_info_t sht1x_saul_info []
 Allocate and configure entries to the SAUL registry. More...
 

Set default configuration parameters for the SHT1X devices

#define SHT1X_PARAM_CLK   (GPIO_PIN(1, 25))
 
#define SHT1X_PARAM_DATA   (GPIO_PIN(1, 26))
 
#define SHT1X_PARAM_VDD   (SHT1X_VDD_3_5V)
 
#define SHT1X_PARAMS
 

Set default SAUL info text depending on used pseudo module

#define SHT1X_SAULINFO
 

Macro Definition Documentation

◆ SHT1X_PARAMS

#define SHT1X_PARAMS
Value:
{ .clk = SHT1X_PARAM_CLK, \
.data = SHT1X_PARAM_DATA, \
.vdd = SHT1X_PARAM_VDD }

Definition at line 44 of file sht1x_params.h.

◆ SHT1X_SAULINFO

#define SHT1X_SAULINFO
Value:
{ .name = "SHT11 temperature" }, \
{ .name = "SHT11 humidity" }

Definition at line 64 of file sht1x_params.h.

Variable Documentation

◆ sht1x_params

const sht1x_params_t sht1x_params[]
static
Initial value:
=
{
SHT1X_PARAMS
}

Configure SHT1X devices.

Definition at line 75 of file sht1x_params.h.

◆ sht1x_saul_info

const saul_reg_info_t sht1x_saul_info[]
static
Initial value:
=
{
SHT1X_SAULINFO
}

Allocate and configure entries to the SAUL registry.

Definition at line 83 of file sht1x_params.h.