Home
last modified time | relevance | path

Searched full:dht11 (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/iio/humidity/
H A Ddht11.c3 * DHT11/DHT22 bit banging GPIO driver
29 #define DRIVER_NAME "dht11"
70 struct dht11 { struct
94 static void dht11_edges_print(struct dht11 *dht11) in dht11_edges_print() argument
98 dev_dbg(dht11->dev, "%d edges detected:\n", dht11->num_edges); in dht11_edges_print()
99 for (i = 1; i < dht11->num_edges; ++i) { in dht11_edges_print()
100 dev_dbg(dht11->dev, "%d: %lld ns %s\n", i, in dht11_edges_print()
101 dht11->edges[i].ts - dht11->edges[i - 1].ts, in dht11_edges_print()
102 dht11->edges[i - 1].value ? "high" : "low"); in dht11_edges_print()
121 static int dht11_decode(struct dht11 *dht11, int offset) in dht11_decode() argument
[all …]
H A DKconfig19 config DHT11 config
20 tristate "DHT11 (and compatible sensors) driver"
24 generating GPIO line. Currently tested are DHT11 and DHT22.
H A DMakefile7 obj-$(CONFIG_DHT11) += dht11.o
/linux/Documentation/devicetree/bindings/iio/humidity/
H A Ddht11.yaml4 $id: http://devicetree.org/schemas/iio/humidity/dht11.yaml#
7 title: DHT11 humidity + temperature sensor
19 const: dht11
38 compatible = "dht11";