Searched refs:echo_high_cycles (Results 1 – 1 of 1) sorted by relevance
25 atomic_t echo_high_cycles; member113 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), \