1 /*
2  * Copyright (c) 2016 Intel Corporation
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef ZEPHYR_DRIVERS_SENSOR_DHT_DHT_H_
8 #define ZEPHYR_DRIVERS_SENSOR_DHT_DHT_H_
9 
10 #include <zephyr/device.h>
11 
12 #define DHT_START_SIGNAL_DURATION		18000
13 #define DHT_SIGNAL_MAX_WAIT_DURATION		100
14 #define DHT_DATA_BITS_NUM			40
15 
16 struct dht_data {
17 	uint8_t sample[4];
18 };
19 
20 struct dht_config {
21 	struct gpio_dt_spec dio_gpio;
22 };
23 
24 #endif
25