Datasheet
2009-2011 Microchip Technology Inc. DS39960D-page 81
PIC18F87K22 FAMILY
ECCP1AS PIC18F6XK22 PIC18F8XK22 0000 0000 0000 0000 uuuu uuuu
ECCP1DEL
PIC18F6XK22 PIC18F8XK22 0000 0000 0000 0000 uuuu uuuu
CCPR1H PIC18F6XK22 PIC18F8XK22 xxxx xxxx uuuu uuuu uuuu uuuu
CCPR1L PIC18F6XK22 PIC18F8XK22 xxxx xxxx uuuu uuuu uuuu uuuu
CCP1CON PIC18F6XK22 PIC18F8XK22 0000 0000 0000 0000 uuuu uuuu
PIR5 PIC18F65K22 PIC18F85K22 ---0 -000 ---0 -000 ---u -uuu
PIR5
PIC18F66K22
PIC18F67K22
PIC18F86K22
PIC18F87K22
0000 0000 0000 0000 uuuu uuuu
PIE5 PIC18F65K22 PIC18F85K22 ---0 0000 ---0 0000 ---u uuuu
(1)
PIE5
PIC18F66K22
PIC18F67K22
PIC18F86K22
PIC18F87K22
0000 000 0000 0000 uuuu uuuu
(1)
IPR4 PIC18F65K22 PIC18F85K22 --11 1111 --11 1111 --uu uuuu
IPR4
PIC18F66K22
PIC18F67K22
PIC18F86K22
PIC18F87K22
1111 1111 1111 1111 uuuu uuuu
PIR4 PIC18F65K22 PIC18F85K22 --00 0000 --00 0000 --uu uuuu
(1)
PIR4
PIC18F66K22
PIC18F67K22
PIC18F86K22
PIC18F87K22
0000 0000 0000 0000 uuuu uuuu
(1)
PIE4 PIC18F65K22 PIC18F85K22 --00 0000 --00 0000 --uu uuuu
PIE4
PIC18F66K22
PIC18F67K22
PIC18F86K22
PIC18F87K22
0000 0000 0000 0000 uuuu uuuu
CVRCON PIC18F6XK22 PIC18F8XK22 0000 0000 0000 0000 uuuu uuuu
CMSTAT PIC18F6XK22 PIC18F8XK22 xxx- ---- xxx- ---- uuu- ----
TMR3H PIC18F6XK22 PIC18F8XK22 xxxx xxxx uuuu uuuu uuuu uuuu
TMR3L PIC18F6XK22 PIC18F8XK22 xxxx xxxx uuuu uuuu uuuu uuuu
T3CON PIC18F6XK22 PIC18F8XK22 0000 0000 0000 0x00 uuuu uuuu
T3GCON PIC18F6XK22 PIC18F8XK22 0000 0x00 0000 0000 uuuu uuuu
SPBRG1 PIC18F6XK22 PIC18F8XK22 0000 0000 0000 0000 uuuu uuuu
RCREG1 PIC18F6XK22 PIC18F8XK22 0000 0000 0000 0000 uuuu uuuu
TXREG1 PIC18F6XK22 PIC18F8XK22 xxxx xxxx xxxx xxxx uuuu uuuu
TXSTA1 PIC18F6XK22 PIC18F8XK22 0000 0010 0000 0010 uuuu uuuu
RCSTA1 PIC18F6XK22 PIC18F8XK22 0000 000x 0000 000x uuuu uuuu
T1GCON PIC18F6XK22 PIC18F8XK22 0000 0x00 0000 0x00 uuuu -uuu
IPR6 PIC18F6XK22 PIC18F8XK22 ---1 -111 ---1 -111 ---u -uuu
HLVDCON PIC18F6XK22 PIC18F8XK22 0000 0101 0000 0101 uuuu uuuu
PSPCON PIC18F6XK22 PIC18F8XK22 0000 ---- 0000 ---- uuuu ----
PIR6 PIC18F6XK22 PIC18F8XK22 ---0 -000 ---0 -000 ---u -uuu
TABLE 5-2: INITIALIZATION CONDITIONS FOR ALL REGISTERS (CONTINUED)
Register Applicable Devices
Power-on Reset,
Brown-out Reset
MCLR Resets,
WDT Reset,
RESET Instruction,
Stack Resets,
CM Resets
Wake-up via WDT
or Interrupt
Legend: u = unchanged, x = unknown, - = unimplemented bit, read as ‘0’, q = value depends on condition.
Shaded cells indicate conditions do not apply for the designated device.
Note 1: When the wake-up is due to an interrupt, and the GIEL or GIEH bit is set, the TOSU, TOSH and TOSL are
updated with the current value of the PC. The STKPTR is modified to point to the next location in the hardware
stack.
2: When the wake-up is due to an interrupt and the GIEL or GIEH bit is set, the PC is loaded with the interrupt vector
(0008h or 0018h).
3: One or more bits in the INTCONx or PIRx registers will be affected (to cause wake-up).
4: See Table 5-1 for Reset value for specific condition.