English
Language : 

PIC18F87K22 Datasheet, PDF (420/548 Pages) Microchip Technology – 64/80-Pin, High-Performance, 1-Mbit Enhanced Flash Microcontrollers with 12-Bit A/D and nanoWatt XLP Technology
PIC18F87K22 FAMILY
28.3.2
OPERATION OF REGULATOR IN
SLEEP
The difference in the two regulators’ operation arises
with Sleep mode. The ultra low-power regulator gives
the device the lowest current in the Regulator Enabled
mode.
The on-chip regulator can go into a lower power mode
when the device goes to Sleep by setting the REGSLP
bit (WDTCON<7>). This puts the regulator in a standby
mode so that the device consumes much less current.
The on-chip regulator can also go into the Ultra Low-
Power mode, which consumes the lowest current
possible with the regulator enabled. This mode is
controlled by the RETEN bit (CONFIG1L<0>) and
SRETEN bit (WDTCON<4>).
The various modes of regulator operation are shown in
Table 28-3.
When the ultra low-power regulator is in Sleep mode,
the internal reference voltages in the chip will be shut
off and any interrupts referring to the internal reference
will not wake up the device. If the BOR or LVD is
enabled, the regulator will keep the internal references
on and the lowest possible current will not be achieved.
When using the ultra low-power regulator in Sleep
mode, the device will take about 250 s typical to start
executing the code after it wakes up.
TABLE 28-3: SLEEP MODE REGULATOR SETTINGS(1)
Regulator
Power Mode
VREGSLP
WDTCON<7>
Enabled
Normal Operation (Sleep)
0
Enabled
Low-Power mode (Sleep)
1
Enabled
Normal Operation (Sleep)
0
Enabled
Low-Power mode (Sleep)
1
Enabled
Ultra Low-Power mode (Sleep)
x
Note 1: x — Indicates that VIT status is invalid.
SRETEN
WDTCON<4>
x
x
0
0
1
RETEN
CONFIG1L<0>
1
1
x
x
0
DS39960B-page 420
Preliminary
 2010 Microchip Technology Inc.