Home
last modified time | relevance | path

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

/hal_silabs-3.7.0/gecko/platform/radio/rail_lib/plugin/rail_util_protocol/
Dsl_rail_util_protocol.c42 static RAIL_Status_t sl_rail_util_protocol_config_proprietary(RAIL_Handle_t handle) in sl_rail_util_protocol_config_proprietary() argument
44 (void) RAIL_SetPtiProtocol(handle, RAIL_PTI_PROTOCOL_CUSTOM); in sl_rail_util_protocol_config_proprietary()
49 static RAIL_Status_t sl_rail_util_protocol_config_ble(RAIL_Handle_t handle, in sl_rail_util_protocol_config_ble() argument
67 RAIL_BLE_Init(handle); in sl_rail_util_protocol_config_ble()
70 status = RAIL_BLE_ConfigPhy1MbpsViterbi(handle); in sl_rail_util_protocol_config_ble()
73 status = RAIL_BLE_ConfigPhy2MbpsViterbi(handle); in sl_rail_util_protocol_config_ble()
76 status = RAIL_BLE_ConfigPhyCoded(handle, RAIL_BLE_Coding_125kbps); in sl_rail_util_protocol_config_ble()
79 status = RAIL_BLE_ConfigPhyCoded(handle, RAIL_BLE_Coding_500kbps); in sl_rail_util_protocol_config_ble()
82 status = RAIL_BLE_ConfigPhyQuuppa(handle); in sl_rail_util_protocol_config_ble()
89 status = RAIL_SetStateTiming(handle, &timings); in sl_rail_util_protocol_config_ble()
[all …]
Dsl_rail_util_protocol.h49 RAIL_Status_t sl_rail_util_protocol_config(RAIL_Handle_t handle,
/hal_silabs-3.7.0/gecko/service/sleeptimer/src/
Dsl_sleeptimer.c121 static void delta_list_insert_timer(sl_sleeptimer_timer_handle_t *handle,
124 static sl_status_t delta_list_remove_timer(sl_sleeptimer_timer_handle_t *handle);
134 static sl_status_t create_timer(sl_sleeptimer_timer_handle_t *handle,
144 static void delay_callback(sl_sleeptimer_timer_handle_t *handle,
210 sl_status_t sl_sleeptimer_start_timer(sl_sleeptimer_timer_handle_t *handle, in sl_sleeptimer_start_timer() argument
219 if (handle == NULL) { in sl_sleeptimer_start_timer()
223 handle->conversion_error = 0; in sl_sleeptimer_start_timer()
224 handle->accumulated_error = 0; in sl_sleeptimer_start_timer()
226 sl_sleeptimer_is_timer_running(handle, &is_running); in sl_sleeptimer_start_timer()
231 return create_timer(handle, in sl_sleeptimer_start_timer()
[all …]
/hal_silabs-3.7.0/gecko/service/sleeptimer/inc/
Dsl_sleeptimer.h73 typedef void (*sl_sleeptimer_timer_callback_t)(sl_sleeptimer_timer_handle_t *handle, void *data);
157 sl_status_t sl_sleeptimer_start_timer(sl_sleeptimer_timer_handle_t *handle,
181 sl_status_t sl_sleeptimer_restart_timer(sl_sleeptimer_timer_handle_t *handle,
205 sl_status_t sl_sleeptimer_start_periodic_timer(sl_sleeptimer_timer_handle_t *handle,
229 sl_status_t sl_sleeptimer_restart_periodic_timer(sl_sleeptimer_timer_handle_t *handle,
243 sl_status_t sl_sleeptimer_stop_timer(sl_sleeptimer_timer_handle_t *handle);
255 sl_status_t sl_sleeptimer_is_timer_running(sl_sleeptimer_timer_handle_t *handle,
266 sl_status_t sl_sleeptimer_get_timer_time_remaining(sl_sleeptimer_timer_handle_t *handle,
745 __STATIC_INLINE sl_status_t sl_sleeptimer_start_timer_ms(sl_sleeptimer_timer_handle_t *handle, in sl_sleeptimer_start_timer_ms() argument
760 …return sl_sleeptimer_start_timer(handle, timeout_tick, callback, callback_data, priority, option_f… in sl_sleeptimer_start_timer_ms()
[all …]
/hal_silabs-3.7.0/gecko/emlib/src/
Dem_core.c306 static void cycle_counter_start(dwt_cycle_counter_handle_t *handle);
307 static void cycle_counter_stop(dwt_cycle_counter_handle_t *handle);
954 static void cycle_counter_start(dwt_cycle_counter_handle_t *handle) argument
956 handle->start = DWT->CYCCNT;
968 static void cycle_counter_stop(dwt_cycle_counter_handle_t *handle) argument
970 handle->cycles = DWT->CYCCNT - handle->start;
972 if (handle->cycles > handle->max) {
973 handle->max = handle->cycles;
/hal_silabs-3.7.0/gecko/service/power_manager/src/
Dsl_power_manager.c170 static void on_clock_wakeup_timeout(sl_sleeptimer_timer_handle_t *handle,
817 sl_power_manager_em_transition_event_handle_t *handle; in power_manager_notify_em_transition() local
862 …SL_SLIST_FOR_EACH_ENTRY(power_manager_em_transition_event_list, handle, sl_power_manager_em_transi… in power_manager_notify_em_transition()
863 if ((handle->info->event_mask & transition) > 0) { in power_manager_notify_em_transition()
864 handle->info->on_event(from, to); in power_manager_notify_em_transition()
1100 static void on_clock_wakeup_timeout(sl_sleeptimer_timer_handle_t *handle, in on_clock_wakeup_timeout() argument
1103 (void)handle; in on_clock_wakeup_timeout()