DiscLoop is a higher layer component which performs the discovery of counterparts (like a card or p2p target device) according to NFC Forum or EMVCo specification. So there is a clear sequence on how this detection procedure looks like.
To put it into a nutshell:
1. It turns on RF
2. Waits a few milliseconds (RF on guard time, usually 5ms)
3. Sends out a request frame for first technology (e.g. 14443-3A) and waits for a response from a card which potentially is there
4. Optionally, stops discovery in case an answer has been received and so called bail-out option is set
5. if bail-out is not set or there was no card response, wait again a few milliseconds (depending on enabled discovery loop protocols)
6. Sends out a request frame for next enabled technology (e.g. 14443B) and waits for card response
7. If there was no card response and If no more technologies are available, switch off RF field, wait some milliseconds and go back to 1.
otherwise go back to 4.
This may not be the fully accurate flow since it depends on specifications but it should give you a basic idea.
So, which IRQ is used? Actually, there is only one IRQ line from PN5180 connected to a IRQ-able GPIO of your microcontroller. However, this one iRQ line is software-multiplexed inside PN5180 so it can have multiple sources which are configurable using the IRQ_ENABLE register.
So, you can configure to raise the IRQ line on TxDone or RxDone event, or TimerElapsed event. Actually you don't need to configure, RdLib is doing that. The only thing you need is to ensure is that your microcontroller executes the ISR (IRQ handler) RF_IRQ_Handler in case your controller detects a rising edge on this GPIO.
Christian.