Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/lwm2m/
Dipso_onoff_switch.c45 uint64_t trigger_offset; member
118 switch_data[i].trigger_offset = k_uptime_get(); in state_post_write_cb()
134 (int64_t)((k_uptime_get() - switch_data[i].trigger_offset) / 1000); in on_time_read_cb()
153 (int64_t)((k_uptime_get() - switch_data[i].trigger_offset) / 1000); in off_time_read_cb()
171 switch_data[i].trigger_offset = 0U; in time_post_write_cb()
Dipso_timer.c54 uint64_t trigger_offset; member
118 if (k_uptime_get() < timer->trigger_offset + temp) { in start_timer()
124 timer->trigger_offset = k_uptime_get(); in start_timer()
145 timer->cumulative_time_ms += k_uptime_get() - timer->trigger_offset; in stop_timer()
169 temp -= (k_uptime_get() - timer_data[i].trigger_offset); in remaining_time_read_cb()
193 temp += k_uptime_get() - timer_data[i].trigger_offset; in cumulative_time_read_cb()
Dipso_buzzer.c50 uint64_t trigger_offset; member
113 if (k_uptime_get() < buzzer->trigger_offset + temp) { in start_buzzer()
119 buzzer->trigger_offset = k_uptime_get(); in start_buzzer()