SHIO
Fork of mbed-stm32l0/l1-src by
Revision 638:56887a2974b9, committed 2016-09-08
- Comitter:
- lzbpli
- Date:
- Thu Sep 08 02:46:37 2016 +0000
- Parent:
- 637:43dc64e319ca
- Commit message:
- ????
Changed in this revision
targets/hal/TARGET_STM/TARGET_STM32L0/sleep.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/targets/hal/TARGET_STM/TARGET_STM32L0/sleep.c Fri Apr 29 08:15:28 2016 +0000 +++ b/targets/hal/TARGET_STM/TARGET_STM32L0/sleep.c Thu Sep 08 02:46:37 2016 +0000 @@ -51,6 +51,8 @@ void deepsleep(void) { + + // Request to enter STOP mode with regulator in low power mode HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);