[riot-notifications] [RIOT-OS/RIOT] RDM: The 802.15.4 Radio HAL (#13943)
notifications at github.com
Thu May 14 17:09:19 CEST 2020
> The `RF_CONFIRM` and `RF_INDICATION` are only interrupts that tell the upper layer "to call the irq_handler ASAP" but also adds the possibility of using mutex for confirms and event queues for indications.
I wonder if we actually need this parameter. I guess that the `irq_handler` should just as well be able to figure out if an event of class `RF_CONFIRM` or of class `RF_INDICATION` is needed. (And I think it could be plausible that from interrupt context this cannot be decided on. E.g. let's some one transceiver does an CCA in hardware right after `set_trx_state(TX)` is called. So the event could either be an `RF_CONFIRM_TX` or an `RF_INDICATION_CCA_FAILED`, right? Even if the driver would have to retry going to TX until CCA succeeded, the parameter would not be helpful: An SPI access would be needed (for non-periph transceivers) to figure out what happened.)
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications