How do I add Interrupt and callback functions for preamble detection on dws3000

Hi,

I’m a starter of doing some testing using the qorvo dws3000+nrf board.
My attemption is: when my dws3000 detect preamble, then quickly tx a message. But in the API guide, the interrupt functions and callback functions seems not very clear.(I want to use interrupt to detect receive the preamble, and use callback to send a new tx)

If any one can explain how dwt_setinterrupt() and callback work?
In addition, I did not find any interrupt for preamble detection. How do I set this interrupt and call back method in dws3000?

Many thanks

Brian