os_cputime_timer_stop

void os_cputime_timer_stop(struct hal_timer *timer)

Stops a timer from running. The timer is removed from the timer queue and interrupts are disabled if there are no more timers on the timer queue.

Arguments

ArgumentsDescription
timerPointer to the timer to stop.

Returned values

N/A

Notes

Example

void
ble_ll_wfr_disable(void)
{
    os_cputime_timer_stop(&g_ble_ll_data.ll_wfr_timer);
}