12.3 Idle Mode
When the Idle Enable (IDLEN) bit is clear (IDLEN =
0
), the SLEEP
instruction will put the device into
full Sleep mode. When IDLEN is set (IDLEN = 1
), the SLEEP
instruction will put the device into Idle mode. In Idle mode, the CPU and memory operations
are halted, but the peripheral clocks continue to run. This mode is similar to Doze mode,
except that in Idle both the CPU and program memory are shut off.
Important: Peripherals using
FOSC will continue running while in Idle (but not in Sleep). Peripherals
using HFINTOSC:LFINTOSC will continue running in both Idle and Sleep.
Important: If CLKOUTEN is enabled (CLKOUTEN =
0
, Configuration Word 1), the output will
continue operating while in Idle.