English
Language : 

PIC18LF24K Datasheet, PDF (62/594 Pages) –
PIC18(L)F26/45/46K40
6.2.3.2 Peripheral Usage in Sleep
Some peripherals that can operate in Sleep mode will
not operate properly with the Low-Power Sleep mode
selected. The Low-Power Sleep mode is intended for
use with these peripherals:
• Brown-out Reset (BOR)
• Windowed Watchdog Timer (WWDT)
• External interrupt pin/Interrupt-On-Change pins
• Peripherals that run off external secondary clock
source
It is the responsibility of the end user to determine what
is acceptable for their application when setting the
VREGPM settings in order to ensure operation in
Sleep.
Note:
The PIC18LF2x/4xK40 devices do not
have a configurable Low-Power Sleep
mode. PIC18LF2x/4xK40 devices are
unregulated and are always in the lowest
power state when in Sleep, with no
wake-up time penalty. These devices
have a lower maximum VDD and I/O volt-
age than the PIC18F2x/4xK40. See Sec-
tion 37.0 “Electrical Specifications” for
more information.
6.2.4 IDLE 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
PFM are shut off.
Note:
If CLKOUTEN is enabled (CLKOUTEN = 0,
Configuration Word 1H), the output will con-
tinue operating while in Idle.
6.2.4.1 Idle and Interrupts
IDLE mode ends when an interrupt occurs (even if GIE
= 0), but IDLEN is not changed. The device can
re-enter IDLE by executing the SLEEP instruction.
If Recover-On-Interrupt is enabled (ROI = 1), the
interrupt that brings the device out of Idle also restores
full-speed CPU execution when doze is also enabled.
6.2.4.2 Idle and WWDT
When in Idle, the WWDT Reset is blocked and will
instead wake the device. The WWDT wake-up is not an
interrupt, therefore ROI does not apply.
Note:
The WDT can bring the device out of Idle,
in the same way it brings the device out of
Sleep. The DOZEN bit is not affected.
6.3 Peripheral Operation in Power
Saving Modes
All selected clock sources and the peripherals running
off them are active in both IDLE and DOZE mode. Only
in Sleep mode, both the FOSC and FOSC/4 clocks are
unavailable. All the other clock sources are active, if
enabled manually or through peripheral clock selection
before the part enters Sleep.
 2016 Microchip Technology Inc.
Preliminary
DS40001816C-page 62