We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4aaad0 commit 98c8aa1Copy full SHA for 98c8aa1
targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC/sleep.c
@@ -27,7 +27,13 @@ void hal_sleep(void)
27
void hal_deepsleep(void)
28
{
29
LPC_CLOCK_INTERNAL_IRC;
30
+
31
/* Enter Deep Sleep mode */
32
+#if (defined(FSL_FEATURE_POWERLIB_NIOBE4_EXTEND ) && FSL_FEATURE_POWERLIB_NIOBE4_EXTEND )
33
+ POWER_EnterDeepSleep(APP_EXCLUDE_FROM_DEEPSLEEP, 0x0, WAKEUP_GPIO_INT0_0, 0x0);
34
+#else
35
POWER_EnterDeepSleep(APP_EXCLUDE_FROM_DEEPSLEEP);
36
+#endif
37
38
LPC_CLOCK_RUN;
39
}
0 commit comments