nRF WiFi
Loading...
Searching...
No Matches

◆ nrf_wifi_osal_timer_init()

void nrf_wifi_osal_timer_init ( void * timer,
void(* callbk_fn )(unsigned long),
unsigned long data )

Initialize a timer.

Parameters
timerPointer to a timer instance.
callbk_fnCallback function to be invoked when the timer expires.
dataData to be passed to the callback function.

Initializes a timer that has been allocated using nrf_wifi_osal_timer_alloc Need to pass (callbk_fn) callback function with the data(data) to be passed to the callback function, whenever the timer expires.