mbed
Fork of mbed-dev by
Diff: targets/TARGET_Maxim/TARGET_MAX32620/sleep.c
- Revision:
- 160:d5399cc887bb
- Parent:
- 149:156823d33999
- Child:
- 172:89b338f31ef1
--- a/targets/TARGET_Maxim/TARGET_MAX32620/sleep.c Tue Feb 28 17:13:35 2017 +0000 +++ b/targets/TARGET_Maxim/TARGET_MAX32620/sleep.c Tue Mar 14 16:40:56 2017 +0000 @@ -54,7 +54,7 @@ static int restore_usb; static usb_state_t usb_state; -void sleep(void) +void hal_sleep(void) { // Normal sleep mode for ARM core SCB->SCR = 0; @@ -109,7 +109,7 @@ } // Low-power stop mode -void deepsleep(void) +void hal_deepsleep(void) { unsigned int part_rev = MXC_PWRMAN->mask_id0 & MXC_F_PWRMAN_MASK_ID0_REVISION_ID;