mbed library sources. Supersedes mbed-src. Edited target satm32f446 for user USART3 pins
Fork of mbed-dev by
Diff: targets/TARGET_NXP/TARGET_LPC11XX_11CXX/sleep.c
- Revision:
- 160:d5399cc887bb
- Parent:
- 149:156823d33999
--- a/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/sleep.c Tue Feb 28 17:13:35 2017 +0000 +++ b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/sleep.c Tue Mar 14 16:40:56 2017 +0000 @@ -17,7 +17,7 @@ #include "cmsis.h" #include "mbed_interface.h" -void sleep(void) { +void hal_sleep(void) { // PCON[DPDEN] set to sleep LPC_PMU->PCON = 0x0; @@ -29,7 +29,7 @@ __WFI(); } -void deepsleep(void) { +void hal_deepsleep(void) { // PCON[DPDEN] set to deepsleep LPC_PMU->PCON = 0;