[riot-notifications] [RIOT-OS/RIOT] WIP: introduce periph_sleepmem (#11369)
notifications at github.com
Wed Apr 10 13:29:20 CEST 2019
### Contribution description
Some MCU's offer a couple of registers or memory that retain(s) state even in the deepest sleep mode (when e.g., RAM is not retained). This PR tries to come up with a generic API to make those usable, and an implementation for stm32's RTC backup registers.
While working fine on stm32f4, this is otherwise completely WIP and missing licenses, docs, test application, ...
### Testing procedure
I'd say this is in planning phase, so please check if the API makes sense.
### Issues/PRs references
Briefly discussed backup registers in https://github.com/RIOT-OS/RIOT/pull/11258#discussion_r273891656.
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* periph/sleepmem: initial commit
* cpu/stm32_common: add periph_sleepmem implementation
-- File Changes --
A cpu/stm32_common/periph/sleepmem.c (59)
A drivers/include/periph/sleepmem.h (12)
-- Patch Links --
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