bare-metal RADIO RX with a timeout

i working bare-metal, using HW registers directly....  no zephyr, no SDC....

i'm able to successfully receive packets through the RADIO RX path, but now want to add a timeout....

as the RADIO doesn't expose its own timer for this purpose, i'm using a GRTC channel....

question: when the timer expires (and no packet has been received), how should i abort the ongoing RX -- TASKS_STOP, TASKS_DISABLE, etc ???

let's assume my GRTC interrupt handler will (somehow?) abort the RX and then set some rx_timeout flag....

is the RADIO interrupt handler subsequently invoked as part of aborting the RX -- where i could then test rx_timeout to understand how i terminated???

this use-case was not described in an obvious way (to me) in the HW datasheet.... 

Related