[riot-notifications] [RIOT-OS/RIOT] cpu/sam0: add support for SAMD5x/SAME5x (#11305)
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications