Loading...
Searching...
No Matches

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.
 
static const saul_reg_info_t sht1x_saul_info []
 Allocate and configure entries to the SAUL registry.
 

Set default configuration parameters for the SHT1X devices

#define SHT1X_PARAM_CLK   (GPIO_PIN(1, 25))
 SHT1x the clock pin.
 
#define SHT1X_PARAM_DATA   (GPIO_PIN(1, 26))
 SHT1x the data pin.
 
#define SHT1X_PARAM_VDD   (SHT1X_VDD_3_5V)
 SHT1x the supply voltage.
 
#define SHT1X_PARAMS
 The initialization parameters for the SHT1x driver.
 

Set default SAUL info text depending on used pseudo module

#define SHT1X_SAULINFO
 

Macro Definition Documentation

◆ SHT1X_PARAM_CLK

#define SHT1X_PARAM_CLK   (GPIO_PIN(1, 25))

SHT1x the clock pin.

Definition at line 38 of file sht1x_params.h.

◆ SHT1X_PARAM_DATA

#define SHT1X_PARAM_DATA   (GPIO_PIN(1, 26))

SHT1x the data pin.

Definition at line 44 of file sht1x_params.h.

◆ SHT1X_PARAM_VDD

#define SHT1X_PARAM_VDD   (SHT1X_VDD_3_5V)

SHT1x the supply voltage.

See also
sht1x_vdd_t

Definition at line 52 of file sht1x_params.h.

◆ SHT1X_PARAMS

#define SHT1X_PARAMS
Value:
{ .clk = SHT1X_PARAM_CLK, \
.data = SHT1X_PARAM_DATA, \
.vdd = SHT1X_PARAM_VDD }
#define SHT1X_PARAM_DATA
SHT1x the data pin.
#define SHT1X_PARAM_VDD
SHT1x the supply voltage.
#define SHT1X_PARAM_CLK
SHT1x the clock pin.

The initialization parameters for the SHT1x driver.

Definition at line 58 of file sht1x_params.h.

◆ SHT1X_SAULINFO

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

Definition at line 78 of file sht1x_params.h.

Variable Documentation

◆ sht1x_params

const sht1x_params_t sht1x_params[]
static
Initial value:
=
{
}
#define SHT1X_PARAMS
The initialization parameters for the SHT1x driver.

Configure SHT1X devices.

Definition at line 89 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 97 of file sht1x_params.h.