Home
last modified time | relevance | path

Searched refs:dio_gpio (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/sensor/aosong/dht/
Ddht.c45 rc = gpio_pin_get_dt(&cfg->dio_gpio); in dht_measure_signal_duration()
77 gpio_pin_set_dt(&cfg->dio_gpio, true); in dht_sample_fetch()
86 gpio_pin_configure_dt(&cfg->dio_gpio, GPIO_INPUT); in dht_sample_fetch()
170 gpio_pin_configure_dt(&cfg->dio_gpio, GPIO_OUTPUT_INACTIVE); in dht_sample_fetch()
241 if (!gpio_is_ready_dt(&cfg->dio_gpio)) { in dht_init()
246 rc = gpio_pin_configure_dt(&cfg->dio_gpio, GPIO_OUTPUT_INACTIVE); in dht_init()
255 .dio_gpio = GPIO_DT_SPEC_INST_GET(inst, dio_gpios), \
Ddht.h21 struct gpio_dt_spec dio_gpio; member