Handling a Wireless Device ISR
NetDev_ISR_Handler()
is the device interrupt handler. In general, the device interrupt handler must perform the following functions:
NetOS_IF_RxTaskSignal()
for each new frame received (management or packet). a Post the address of the data area that has completed transmission to the transmit buffer de-allocation task by calling NetOS_IF_TxDeallocTaskPost()
with the pointer to the data area that has completed transmission.
b Call NetOS_Dev_TxRdySignal()
with the interface number that has just completed transmission.
NetDev_WiFi_ISR_Handler()
returns. Additionally, it is highly recommended that device driver ISR handlers be kept as short as possible to reduce the amount of interrupt latency in the system.