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: DISCO-L072CZ-LRWAN1_LoRa_PingPong
Fork of SX1276GenericLib by
Revision 86:49d19df5bbce, committed 2017-08-17
- Comitter:
- Helmut Tschemernjak
- Date:
- Thu Aug 17 11:07:50 2017 +0200
- Parent:
- 85:93832cc77534
- Child:
- 87:5f31c157ed15
- Child:
- 88:046f3d90443e
- Commit message:
- The deepsleep disables the SysTick already
Changed in this revision
| Arduino-mbed-APIs/arduino-d21.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Arduino-mbed-APIs/arduino-d21.cpp Sat Aug 12 19:16:08 2017 +0200
+++ b/Arduino-mbed-APIs/arduino-d21.cpp Thu Aug 17 11:07:50 2017 +0200
@@ -411,15 +411,12 @@
* when in sleep mode. */
NVMCTRL->CTRLB.bit.SLEEPPRM = NVMCTRL_CTRLB_SLEEPPRM_DISABLED_Val;
#endif
-
- // SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk; // disbale SysTick
SCB->SCR |= SCB_SCR_SLEEPDEEP_Msk; // standby mode
+ //EIC->WAKEUP.bit.WAKEUPEN3 = 1; // enable wakeup on Pin 12/PA19/EXTINT[3] see variants.h
__DSB(); // ensures the completion of memory accesses
__WFI(); // wait for interrupt
-
- // SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk; // enable SysTick
}
#endif // D21 TCC Timer, sleep, etc-
