
2007 Microchip Technology Inc.
Preliminary
DS39770B-page 403
PIC18F85J90 FAMILY
PORTD
Associated Registers ...............................................119
LATD Register .........................................................118
PORTD Register ......................................................118
TRISD Register ........................................................118
PORTE
Associated Registers ...............................................121
LATE Register ..........................................................120
PORTE Register ......................................................120
TRISE Register ........................................................120
PORTF
Associated Registers ...............................................124
LATF Register ..........................................................122
PORTF Register ......................................................122
TRISF Register ........................................................122
PORTG
Associated Registers ...............................................126
LATG Register .........................................................125
PORTG Register ......................................................125
TRISG Register ........................................................125
PORTH
Associated Registers ...............................................128
LATH Register .........................................................127
PORTH Register ......................................................127
TRISH Register ........................................................127
PORTJ
Associated Registers ...............................................130
LATJ Register ..........................................................129
PORTJ Register .......................................................129
TRISJ Register .........................................................129
Power-Managed Modes .....................................................37
and SPI Operation ...................................................193
Clock Sources ............................................................37
Clock Transitions and Status Indicators .....................38
Entering ......................................................................37
Exiting Idle and Sleep Modes ....................................43
By Interrupt ........................................................43
By Reset ............................................................43
By WDT Time-out ..............................................43
Without an Oscillator Start-up Delay ..................43
Idle Modes .................................................................41
PRI_IDLE ...........................................................42
RC_IDLE ............................................................43
SEC_IDLE .........................................................42
Multiple Sleep Commands .........................................38
Run Modes .................................................................38
PRI_RUN ...........................................................38
RC_RUN ............................................................40
SEC_RUN ..........................................................38
Selecting ....................................................................37
Sleep Mode ................................................................41
Summary (table) ........................................................37
Power-on Reset (POR) ......................................................47
Power-up Delays ................................................................36
Power-up Timer (PWRT) .............................................36, 48
Time-out Sequence ....................................................48
Prescaler, Capture ...........................................................150
Prescaler, Timer0 .............................................................133
Prescaler, Timer2 .............................................................154
PRI_IDLE Mode .................................................................42
PRI_RUN Mode .................................................................38
Program Counter ...............................................................59
PCL, PCH and PCU Registers ...................................59
PCLATH and PCLATU Registers ..............................59
Program Memory
Extended Instruction Set ........................................... 76
Flash Configuration Words ........................................ 58
Hard Memory Vectors ................................................ 58
Instructions ................................................................ 63
Two-Word .......................................................... 63
Interrupt Vector .......................................................... 58
Look-up Tables .......................................................... 61
Memory Maps ............................................................ 57
Hard Vectors and Configuration Words ............. 58
Reset Vector .............................................................. 58
Program Verification and Code Protection ...................... 294
Programming, Device Instructions ................................... 295
Pulse-Width Modulation. See PWM (CCP Module).
PUSH ............................................................................... 324
PUSH and POP Instructions .............................................. 60
PUSHL ............................................................................. 340
PWM (CCP Module)
Associated Registers ............................................... 155
Duty Cycle ............................................................... 154
Example Frequencies/Resolutions .......................... 154
Period ...................................................................... 153
Setup for PWM Operation ....................................... 155
TMR2 to PR2 Match ................................................ 153
Q
Q Clock ............................................................................ 154
R
RAM. See Data Memory.
RC_IDLE Mode .................................................................. 43
RC_RUN Mode .................................................................. 40
RCALL ............................................................................. 325
RCON Register
Bit Status During Initialization .................................... 50
Reader Response ............................................................ 408
Register File ....................................................................... 67
Register File Summary ................................................ 69–72
Registers
ADCON0 (A/D Control 0) ......................................... 263
ADCON1 (A/D Control 1) ......................................... 264
ADCON2 (A/D Control 2) ......................................... 265
BAUDCON1 (Baud Rate Control 1) ......................... 232
CCPxCON (CCPx Control) ...................................... 147
CMCON (Comparator Control) ................................ 273
CONFIG1H (Configuration 1 High) .......................... 285
CONFIG1L (Configuration 1 Low) ........................... 285
CONFIG2H (Configuration 2 High) .......................... 287
CONFIG2L (Configuration 2 Low) ........................... 286
CONFIG3H (Configuration 3 High) .......................... 287
CVRCON (Comparator Voltage Reference Control) 279
DEVID1 (Device ID Register 1) ............................... 288
DEVID2 (Device ID Register 2) ............................... 288
EECON1 (EEPROM Control 1) ................................. 83
INTCON (Interrupt Control) ....................................... 95
INTCON2 (Interrupt Control 2) .................................. 96
INTCON3 (Interrupt Control 3) .................................. 97
IPR1 (Peripheral Interrupt Priority 1) ....................... 104
IPR2 (Peripheral Interrupt Priority 2) ....................... 105
IPR3 (Peripheral Interrupt Priority 3) ....................... 106
LCDCON (LCD Control) .......................................... 158
LCDDATAx (LCD Data) ........................................... 161
LCDPS (LCD Phase) ............................................... 159
LCDREG (LCD Voltage Regulator Control) ............. 163
LCDSEx (LCD Segment Enable) ............................. 160
OSCCON (Oscillator Control) .................................... 30