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.
Dependents: SPIne CH_Communicatuin_Test CH_Communicatuin_Test2 MCP_SPIne ... more
Fork of mbed-dev-f303 by
Diff: targets/TARGET_NUVOTON/TARGET_NUC472/sleep.c
- Revision:
- 160:d5399cc887bb
- Parent:
- 159:612c381a210f
--- a/targets/TARGET_NUVOTON/TARGET_NUC472/sleep.c Tue Feb 28 17:13:35 2017 +0000 +++ b/targets/TARGET_NUVOTON/TARGET_NUC472/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;