[riot-notifications] [RIOT-OS/RIOT] cpu/sam0: add support for SAMD5x/SAME5x (#11305)

benpicco notifications at github.com
Thu May 23 10:47:04 CEST 2019


PM is a bit of a mess.
`pm_layered` only supports 4 sleep modes and never defines what they are supposed to mean. (Which is probably why they are never used anywhere in RIOT) On the other sam0 MCUs, modes > 0 are used for shallow sleep/Idle and only 0 is used for deep sleep.

In the deep sleep modes, the normal timer is stopped and we can only be woken by e.g. RTT.
It would be great if RIOT could make use of this, there have been several discussions / PRs in the past, but none came to a conclusion.

I can make it

mode | sleep
--|---
0 | BACKUP
1 | HIBERNATE
2 | STANDBY
3 | IDLE2

`pm_unblock` is never called by RIOT on it's own, so all sleep is application defined anyway.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11305#issuecomment-495125770
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190523/b6153a98/attachment.html>


More information about the notifications mailing list