35 #define DHT_PARAM_PIN (GPIO_PIN(0, 0))
37 #ifndef DHT_PARAM_TYPE
38 #define DHT_PARAM_TYPE (DHT11)
40 #ifndef DHT_PARAM_PULL
41 #define DHT_PARAM_PULL (GPIO_IN)
44 #define DHT_PARAMS { .pin = DHT_PARAM_PIN, \
45 .type = DHT_PARAM_TYPE, \
46 .in_mode = DHT_PARAM_PULL }
49 #define DHT_SAULINFO { .name = "dht" }
Device driver interface for the DHT family of humidity and temperature sensors.
static const saul_reg_info_t dht_saul_info[]
Allocate and configure entries to the SAUL registry.
static const dht_params_t dht_params[]
Configure DHT devices.
SAUL registry interface definition.
Configuration parameters for DHT devices.
Additional data to collect for each entry.