- On receiving the RX Interrupt, the
FIFOHandler
interrupt handler is called which in turn calls theFIFORecvHandler
. - Read RLR to find the number of bytes.
- Read the number of bytes till the number
of bytes read from RLR while checking the occupancy by using the
XLlFifo_iRxOccupancy
function. - Clear the ISR.
- Check if there is an Interrupt pending for RX. Go to step 2.