1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/lpc2387/periph
Benjamin Valentin a9d1825e2e cpu/lpc2387: implement periph/pm
Enable IDLE and Deep Powerdown mode.

IDLE is pretty straightforward - insteady of busy waiting, the CPU will
enter an idle state from which it will resume on any event.

Deep Power Down shuts off the entite system except for the battery backup
power domain.
That means the CPU will reset on resume and can be woken by e.g. RTC.

SLEEP and POWERDOWN disable the PLL and the PLL and Flash respectively.
This requires some proper wake-up handling.

Since this turned out to be a major time sink and those modes are never
currently never used in RIOT outside of tests, I left this as an exercise
for a future reader.
2019-11-22 09:11:39 +01:00
..
gpio.c lpc2387: mark closing #endif for MODULE_PERIPH_GPIO_IRQ 2018-10-09 15:11:00 +02:00
Makefile cpu: make use of Makefile.periph 2017-11-06 12:01:19 +01:00
pm.c cpu/lpc2387: implement periph/pm 2019-11-22 09:11:39 +01:00
pwm.c cpu/lpc2387: remove useless periph file guard 2018-04-16 10:11:47 +02:00
rtc.c cpu/lpc2387: enable RTC on init 2019-10-27 01:33:13 +02:00
spi.c cpu/lpc2387: Fixed broken SPI driver 2018-05-19 18:12:25 +02:00
timer.c Merge pull request #7129 from haukepetersen/opt_periph_sharetimerset 2017-08-01 15:09:48 +02:00
uart.c boards/msba2: configure remaining UARTs 2019-11-07 21:55:25 +01:00