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

◆ nrf_wifi_osal_bus_pcie_dev_intr_reg()

enum nrf_wifi_status nrf_wifi_osal_bus_pcie_dev_intr_reg ( void *  os_pcie_dev_ctx,
void *  callbk_data,
int(*)(void *callbk_data)  callbk_fn 
)

Register an interrupt handler for a PCIe device.

Parameters
os_pcie_dev_ctxOS specific PCIe 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.