Datasheet

Table Of Contents
PIC18F87J72 FAMILY
DS39979A-page 472 Preliminary  2010 Microchip Technology Inc.
Reader Response ............................................................. 476
Real-Time Clock and Calendar
Operation .................................................................. 149
Registers...................................................................140
Real-Time Clock and Calendar (RTCC)............................ 139
Register File ........................................................................64
Register File Summary.................................................. 66–69
Registers
ADCON0 (A/D Control 0) .......................................... 273
ADCON1 (A/D Control 1) .......................................... 274
ADCON2 (A/D Control 2) .......................................... 275
ALRMCFG (Alarm Configuration) ............................. 143
ALRMDAY (Alarm Day Value) .................................. 147
ALRMHR (Alarm Hours Value) .................................148
ALRMMIN (Alarm Minutes Value).............................148
ALRMMNTH (Alarm Month Value)............................ 147
ALRMRPT (Alarm Calibration)..................................144
ALRMSEC (Alarm Seconds Value)........................... 148
ALRMWD (Alarm Weekday Value) ...........................147
BAUDCON1 (Baud Rate Control) ............................. 242
CCPxCON (CCPx Control) ....................................... 157
CMCON (Comparator Control) .................................293
CONFIG1 (AFE Configuration 1) ..............................462
CONFIG1H (Configuration 1 High) ........................... 321
CONFIG1L (Configuration 1 Low)............................. 321
CONFIG2 (AFE Configuration 2) ..............................463
CONFIG2H (Configuration 2 High) ........................... 323
CONFIG2L (Configuration 2 Low)............................. 322
CONFIG3H (Configuration 3 High) ........................... 324
CONFIG3L (Configuration 3 High)............................323
CTMUCONH (CTMU Control High) ..........................315
CTMUCONL (CTMU Control Low)............................316
CTMUICON (CTMU Current Control) ....................... 317
CVRCON (Comparator Voltage
Reference Control)............................................ 299
DATA_CHn (AFE Channel Output)........................... 457
DAY (Day Value).......................................................145
DEVID1 (Device ID Register 1).................................324
DEVID2 (Device ID Register 2).................................324
EECON1 (EEPROM Control 1)................................... 79
GAIN (AFE Gain Configuration)................................ 459
HOUR (Hour Value) ..................................................146
INTCON (Interrupt Control)......................................... 91
INTCON2 (Interrupt Control 2)....................................92
INTCON3 (Interrupt Control 3)....................................93
IPR1 (Peripheral Interrupt Priority 1)......................... 100
IPR2 (Peripheral Interrupt Priority 2)......................... 101
IPR3 (Peripheral Interrupt Priority 3)......................... 102
LCDCON (LCD Control)............................................ 168
LCDDATAx (LCD Data) ............................................ 171
LCDPS (LCD Phase) ................................................169
LCDREG (LCD Voltage Regulator Control) .............. 173
LCDSEx (LCD Segment Enable) ..............................170
MINUTE (Minute Value)............................................ 146
MONTH (Month Value) ............................................. 145
OSCCON (Oscillator Control) ..................................... 26
OSCTUNE (Oscillator Tuning) .................................... 27
PADCFG1 (Pad Configuration).................................142
PHASE (AFE Phase Delay) ......................................458
PIE1 (Peripheral Interrupt Enable 1) ........................... 97
PIE2 (Peripheral Interrupt Enable 2) ........................... 98
PIE3 (Peripheral Interrupt Enable 3) ........................... 99
PIR1 (Peripheral Interrupt Request (Flag) 1) .............. 94
PIR2 (Peripheral Interrupt Request (Flag) 2) .............. 95
PIR3 (Peripheral Interrupt Request (Flag) 3) .............. 96
RCON (Reset Control)........................................ 44, 103
RCSTA1 (EUSART Receive Status
and Control)...................................................... 241
RCSTA2 (AUSART Receive Status
and Control)...................................................... 261
Reserved .................................................................. 144
RTCCAL (RTCC Calibration).................................... 142
RTCCFG (RTCC Configuration)............................... 141
SECOND (Second Value)......................................... 146
SSPCON1 (MSSP Control 1, I
2
C Mode) .................. 206
SSPCON1 (MSSP Control 1, SPI Mode).................. 197
SSPCON2 (MSSP Control 2,
I
2
C Master Mode) ............................................. 207
SSPCON2 (MSSP Control 2, I
2
C Slave Mode) ........ 208
SSPSTAT (MSSP Status, I
2
C Mode) ....................... 205
SSPSTAT (MSSP Status, SPI Mode)....................... 196
STATUS ..................................................................... 70
STATUS/COM (AFE Status/Communications)......... 461
STKPTR (Stack Pointer)............................................. 58
T0CON (Timer0 Control) .......................................... 123
T1CON (Timer1 Control) .......................................... 127
T2CON (Timer2 Control) .......................................... 133
T3CON (Timer3 Control) .......................................... 135
TXSTA1 (EUSART Transmit Status
and Control)...................................................... 240
TXSTA2 (AUSART Transmit Status
and Control)...................................................... 260
WDTCON (Watchdog Timer Control) ....................... 326
WEEKDAY (Weekday Value) ................................... 145
YEAR (Year Value)................................................... 144
RESET.............................................................................. 364
Reset .................................................................................. 43
Brown-out Reset (BOR).............................................. 43
Configuration Mismatch (CM)..................................... 43
MCLR
Reset, During Power-Managed Modes ........... 43
MCLR
Reset, Normal Operation................................. 43
Power-on Reset (POR)............................................... 43
RESET Instruction ...................................................... 43
Stack Full Reset.......................................................... 43
Stack Underflow Reset ............................................... 43
Watchdog Timer (WDT) Reset ................................... 43
Resets............................................................................... 319
Brown-out Reset (BOR)............................................ 319
Oscillator Start-up Timer (OST)................................ 319
Power-on Reset (POR)............................................. 319
Power-up Timer (PWRT) .......................................... 319
RETFIE............................................................................. 365
RETLW ............................................................................. 365
RETURN........................................................................... 366
Return Address Stack......................................................... 57
Return Stack Pointer (STKPTR) ......................................... 58
Revision History................................................................ 433
RLCF ................................................................................ 366
RLNCF.............................................................................. 367
RRCF................................................................................ 367
RRNCF ............................................................................. 368
RTCC
Alarm ........................................................................ 152
Configuring ....................................................... 152
Interrupt ............................................................ 154
Mask Settings ................................................... 153
Alarm Value Registers (ALRMVAL).......................... 147
Control Registers ...................................................... 141