This section describes, how the the radio transceiver interrupts are configured (PHY_CFG_IRQ) and how they are handled (PHY_HANDLE_IRQ).
knownirqs | Mask value, which is written to RG_IRQ_MASK
|
trx_reg_write(RG_IRQ_MASK, knownirqs);
cause | This return parameter contains a flag value, where the bits of the corresponding interrupt reason are set to 1.
|
/* TRX_IRQ_[*] occurs here */ cause = trx_reg_read(RG_IRQ_STATUS); proc_irq(cause);