Home
last modified time | relevance | path

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

/hal_silabs-3.5.0/gecko/service/sleeptimer/src/
Dsl_sleeptimer.c112 static void delta_list_insert_timer(sl_sleeptimer_timer_handle_t *handle,
115 static sl_status_t delta_list_remove_timer(sl_sleeptimer_timer_handle_t *handle);
125 static sl_status_t create_timer(sl_sleeptimer_timer_handle_t *handle,
135 static void delay_callback(sl_sleeptimer_timer_handle_t *handle,
193 sl_status_t sl_sleeptimer_start_timer(sl_sleeptimer_timer_handle_t *handle, in sl_sleeptimer_start_timer() argument
202 if (handle == NULL) { in sl_sleeptimer_start_timer()
206 sl_sleeptimer_is_timer_running(handle, &is_running); in sl_sleeptimer_start_timer()
211 return create_timer(handle, in sl_sleeptimer_start_timer()
223 sl_status_t sl_sleeptimer_restart_timer(sl_sleeptimer_timer_handle_t *handle, in sl_sleeptimer_restart_timer() argument
230 if (handle == NULL) { in sl_sleeptimer_restart_timer()
[all …]
/hal_silabs-3.5.0/gecko/service/sleeptimer/inc/
Dsl_sleeptimer.h69 typedef void (*sl_sleeptimer_timer_callback_t)(sl_sleeptimer_timer_handle_t *handle, void *data);
150 sl_status_t sl_sleeptimer_start_timer(sl_sleeptimer_timer_handle_t *handle,
174 sl_status_t sl_sleeptimer_restart_timer(sl_sleeptimer_timer_handle_t *handle,
198 sl_status_t sl_sleeptimer_start_periodic_timer(sl_sleeptimer_timer_handle_t *handle,
222 sl_status_t sl_sleeptimer_restart_periodic_timer(sl_sleeptimer_timer_handle_t *handle,
236 sl_status_t sl_sleeptimer_stop_timer(sl_sleeptimer_timer_handle_t *handle);
248 sl_status_t sl_sleeptimer_is_timer_running(sl_sleeptimer_timer_handle_t *handle,
259 sl_status_t sl_sleeptimer_get_timer_time_remaining(sl_sleeptimer_timer_handle_t *handle,
606 __STATIC_INLINE sl_status_t sl_sleeptimer_start_timer_ms(sl_sleeptimer_timer_handle_t *handle, in sl_sleeptimer_start_timer_ms() argument
621 …return sl_sleeptimer_start_timer(handle, timeout_tick, callback, callback_data, priority, option_f… in sl_sleeptimer_start_timer_ms()
[all …]
/hal_silabs-3.5.0/gecko/service/power_manager/src/
Dsl_power_manager.c166 static void on_clock_wakeup_timeout(sl_sleeptimer_timer_handle_t *handle,
753 sl_power_manager_em_transition_event_handle_t *handle; in power_manager_notify_em_transition() local
798 …SL_SLIST_FOR_EACH_ENTRY(power_manager_em_transition_event_list, handle, sl_power_manager_em_transi… in power_manager_notify_em_transition()
799 if ((handle->info->event_mask & transition) > 0) { in power_manager_notify_em_transition()
800 handle->info->on_event(from, to); in power_manager_notify_em_transition()
1005 static void on_clock_wakeup_timeout(sl_sleeptimer_timer_handle_t *handle, in on_clock_wakeup_timeout() argument
1008 (void)handle; in on_clock_wakeup_timeout()