The following portrays the
steps of setting up Interrupt Mode:
- Ensure EXT_PKT_RXD/INFO_PKT_RXD interrupt is enabled by setting the correct mask.
- Wait for interrupt, Read interrupt cause register to check if EXT_PKT_RXD or INFO_PKT_RXD is set.
- Based on interrupt status, read packet from appropriate buffer immediately.