mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_NUVOTON/TARGET_M451/sleep.c
- Revision:
- 160:d5399cc887bb
- Parent:
- 159:612c381a210f
- Child:
- 176:447f873cad2f
--- a/targets/TARGET_NUVOTON/TARGET_M451/sleep.c Tue Feb 28 17:13:35 2017 +0000 +++ b/targets/TARGET_NUVOTON/TARGET_M451/sleep.c Tue Mar 14 16:40:56 2017 +0000 @@ -36,7 +36,7 @@ /** * Enter Idle mode. */ -void sleep(void) +void hal_sleep(void) { struct sleep_s sleep_obj; sleep_obj.powerdown = 0; @@ -47,7 +47,7 @@ /** * Enter Power-down mode while no peripheral is active; otherwise, enter Idle mode. */ -void deepsleep(void) +void hal_deepsleep(void) { struct sleep_s sleep_obj; sleep_obj.powerdown = 1;