If I use the Fast PWM feature, I am unable to return to deep sleep after invoking the API PioFastPwmEnable(FALSE);
Debugger is not connected.How to disable FastPwn in runtime?
void PioFastPwmEnable(bool enable)
{
if(enable)
{
SleepModeChange(sleep_mode_shallow);
PioCtrlrStart();
}
else
{
PioCtrlrStop();
SleepModeChange(sleep_mode_deep);
}
}
Need to reset the PIOs also to return back to deep sleep.
You always can call warm reset.