1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-17 10:33:49 +01:00
RIOT/tests/periph_pm
Marian Buschsieweke 9b0cf39312
tests/periph_pm: avoid abusing shell command
To allow marking the shell command static, add a trivial
_show_blockers() function that lists the current pm layered blocker
state.
2022-06-11 14:38:58 +02:00
..

Expected result

You should be presented with the RIOT shell, providing you with commands to test the power management implementation by forcing the CPU to set a certain power mode. An external power measurement device is needed to observe the effect.

Some power modes may require a certain event to wake up. Reset the CPU if needed.

If a RTC peripheral is available, an additional command to temporarily unblock a power mode is available (provided that the CPU can wake-up from given power mode).

Background

Test the functionality of the platform's power management implementation.