[riot-notifications] [RIOT-OS/RIOT] Implement power management `pm` for CPUs (#6802)
notifications at github.com
Wed Mar 6 15:29:25 CET 2019
Huh, is this not a general problem?
In the end the sleep modes are always coupled with peripherals that are still working in that mode.
So only peripherals should be able to call pm_block() / pm_unblock() - now I see how uart_rx_pause() / unpause() makes sense. (I'd rather call it uart_allow_suspend(bool) to make the meaning more clear. Then we could shut down the peripheral clock entirely if no TX is going on, assuming we can still wake it up on RX, but that again is implementation specific.)
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