Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/hc_sr04/
Dhc_sr04.c25 atomic_t echo_high_cycles; member
113 atomic_set(&data->echo_high_cycles, k_cycle_get_32() - data->start_cycles); in hcsr04_gpio_callback()
163 distance_mm = HC_SR04_MM_PER_MS * atomic_get(&data->echo_high_cycles) / in hcsr04_channel_get()
178 .echo_high_cycles = ATOMIC_INIT(0), \