32.12 Operation During Sleep
The CWG module operates independently from the system clock and will continue to run during Sleep, provided that the clock and input sources selected remain active.
The HFINTOSC remains active during Sleep when all the following conditions are met:
- CWG module is enabled
- Input source is active
- HFINTOSC is selected as the clock source, regardless of the system clock source selected.
In other words, if the HFINTOSC is simultaneously selected as the system clock and the CWG clock source when the CWG is enabled and the input source is active, then the CPU will go Idle during Sleep, but the HFINTOSC will remain active, and the CWG will continue to operate. This will have a direct effect on the Sleep mode current.