nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_wifi_osal_bus_qspi_dev_intr_reg()

enum nrf_wifi_status nrf_wifi_osal_bus_qspi_dev_intr_reg ( void *  os_qspi_dev_ctx,
void *  callbk_data,
int(*)(void *callbk_data)  callbk_fn 
)

brief Register a interrupt handler for a qspi device.

Parameters
os_qspi_dev_ctxOS specific qspi device context.
callbk_dataData to be passed to the ISR.
callbk_fnISR to be invoked on receiving an interrupt.

Registers an interrupt handler to the OS. This API also passes the callback data to be passed to the ISR when an interrupt is received.

Returns
NRF_WIFI_STATUS_SUCCESS if successful, NRF_WIFI_STATUS_FAIL otherwise.