Other Parts Discussed in Thread: TM4C1294NCPDT, EK-TM4C1294XL
Dears:
Could you kindly help to provide the code of TM4C1230H6PM under deep sleep?
The customer's code as below, is there any issue about it?
/*在睡眠模式下关闭所有外设*/
SysCtlPeripheralClockGating(true);
/*设置Deep-Sleep下的时钟源*/
SysCtlDeepSleepClockConfigSet(2, SYSCTL_DSLP_OSC_INT30 | SYSCTL_DSLP_PIOSC_PD);
/*在深睡眠模式下使能GPIO管脚*/
SysCtlPeripheralDeepSleepEnable(SYSCTL_PERIPH_GPIOF);
GIZWITS_LOG(RT_DEBUG_TRACE, ("Enter deep sleep\n"));
SleepSecond(1);
/*系统进入Deep-Sleep*/
SysCtlDeepSleep();
Is there any query, pls. feel free to let me know!
Thanks