Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
Diff: targets/TARGET_NXP/TARGET_LPC82X/sleep.c
- Revision:
- 160:d5399cc887bb
- Parent:
- 149:156823d33999
--- a/targets/TARGET_NXP/TARGET_LPC82X/sleep.c Tue Feb 28 17:13:35 2017 +0000
+++ b/targets/TARGET_NXP/TARGET_LPC82X/sleep.c Tue Mar 14 16:40:56 2017 +0000
@@ -20,7 +20,7 @@
//#define DEEPSLEEP
#define POWERDOWN
-void sleep(void)
+void hal_sleep(void)
{
//Normal sleep mode for PCON:
LPC_PMU->PCON &= ~0x03;
@@ -34,7 +34,7 @@
// Deepsleep/powerdown modes assume the device is configured to use its internal RC oscillator directly
-void deepsleep(void)
+void hal_deepsleep(void)
{
//Deep sleep in PCON
LPC_PMU->PCON &= ~0x03;
