[riot-notifications] [RIOT-OS/RIOT] cpu/nrf5x: enhance external HF clock source handling to allow for substantial energy savings (#15804)
notifications at github.com
Wed Jan 20 14:22:59 CET 2021
@benpicco commented on this pull request.
> @@ -247,6 +248,11 @@ static int _init(netdev_t *dev)
txbuf = 0;
_state = 0;
+ /* the radio need the external HF clock source to be enabled */
+ /* @todo add proper handling to release the clock whenever the radio is
+ * idle */
Since those always occur together, how about adding a
static inline void nrf5x_radio_on(void)
NRF_RADIO->POWER = 1;
static inline void nrf5x_radio_off(void)
NRF_RADIO->POWER = 0;
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