![]() |
nRF WiFi
|
| void nrf_wifi_osal_timer_init | ( | void * | timer, |
| void(* | callbk_fn )(unsigned long), | ||
| unsigned long | data ) |
Initialize a timer.
| timer | Pointer to a timer instance. |
| callbk_fn | Callback function to be invoked when the timer expires. |
| data | Data 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.