Default configuration for DHT devices. More...

Detailed Description

Default configuration for DHT devices.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file dht_params.h.

#include "board.h"
#include "dht.h"
#include "saul_reg.h"
+ Include dependency graph for dht_params.h:

Go to the source code of this file.

Variables

static const dht_params_t dht_params []
 Configure DHT devices. More...
 
static const saul_reg_info_t dht_saul_info []
 Allocate and configure entries to the SAUL registry. More...
 

Set default configuration parameters for the DHT devices

#define DHT_PARAM_PIN   (GPIO_PIN(0, 0))
 
#define DHT_PARAM_TYPE   (DHT11)
 
#define DHT_PARAM_PULL   (GPIO_IN_PU)
 
#define DHT_PARAMS
 
#define DHT_SAULINFO   { .name = "dht" }
 

Macro Definition Documentation

◆ DHT_PARAMS

#define DHT_PARAMS
Value:
{ .pin = DHT_PARAM_PIN, \
.type = DHT_PARAM_TYPE, \
.in_mode = DHT_PARAM_PULL }

Definition at line 44 of file dht_params.h.

Variable Documentation

◆ dht_params

const dht_params_t dht_params[]
static
Initial value:
=
{
DHT_PARAMS
}

Configure DHT devices.

Definition at line 56 of file dht_params.h.

◆ dht_saul_info

const saul_reg_info_t dht_saul_info[]
static
Initial value:
=
{
DHT_SAULINFO
}

Allocate and configure entries to the SAUL registry.

Definition at line 64 of file dht_params.h.