[riot-notifications] [RIOT-OS/RIOT] samd21: Expose PM states (#11202)

Koen Zandberg notifications at github.com
Mon Mar 18 13:46:44 CET 2019


### Contribution description

This PR exposes the different PM states supported by the samd21 devices in the `periph_cpu.h` file. This is required to have peripherals block specific power modes with the pm_layered module.

### Testing procedure



### Issues/PRs references

Required for #10915 (requires blocking IDLE_1 and lower)
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/11202

-- Commit Summary --

  * samd21: Expose numerical PM states

-- File Changes --

    M cpu/samd21/include/periph_cpu.h (10)
    M cpu/samd21/periph/pm.c (8)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11202.patch
https://github.com/RIOT-OS/RIOT/pull/11202.diff

-- 
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/11202
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190318/76b79b1e/attachment.html>


More information about the notifications mailing list