
2007 Microchip Technology Inc.
Preliminary
DS39774C-page 387
PIC18F85J11 FAMILY
PLL .....................................................................................34
ECPLL Oscillator Mode ..............................................34
HSPLL Oscillator Mode ..............................................34
POP .................................................................................314
POR. See Power-on Reset.
PORTA
Associated Registers ...............................................125
LATA Register ..........................................................124
PORTA Register ......................................................124
TRISA Register ........................................................124
PORTB
Associated Registers ...............................................127
LATB Register ..........................................................126
PORTB Register ......................................................126
RB7:RB4 Interrupt-on-Change
Flag (RBIF Bit) .................................................126
TRISB Register ........................................................126
PORTC
Associated Registers ...............................................130
LATC Register .........................................................128
PORTC Register ......................................................128
RC3/SCK/SCL Pin ...................................................189
TRISC Register ........................................................128
PORTD ............................................................................144
Associated Registers ...............................................133
LATD Register .........................................................131
PORTD Register ......................................................131
TRISD Register ........................................................131
PORTE
Associated Registers ...............................................136
LATE Register ..........................................................134
PORTE Register ......................................................134
RE0/RD Pin ..............................................................144
RE1/WR Pin .............................................................144
RE2/CS Pin ..............................................................144
TRISE Register ........................................................134
PORTF
Associated Registers ...............................................138
LATF Register ..........................................................137
PORTF Register ......................................................137
TRISF Register ........................................................137
PORTG
Associated Registers ...............................................140
LATG Register .........................................................139
PORTG Register ......................................................139
TRISG Register ........................................................139
PORTH
Associated Registers ...............................................141
LATH Register .........................................................141
PORTH Register ......................................................141
TRISH Register ........................................................141
PORTJ
Associated Registers ...............................................143
LATJ Register ..........................................................142
PORTJ Register .......................................................142
TRISJ Register .........................................................142
Power-Managed Modes .....................................................37
and SPI Operation ...................................................181
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 ........................................................... 166
Prescaler, Timer0 ............................................................ 149
Prescaler, Timer2 ............................................................ 170
PRI_IDLE Mode ................................................................. 42
PRI_RUN Mode ................................................................. 38
Program Counter ............................................................... 61
PCL, PCH and PCU Registers .................................. 61
PCLATH and PCLATU Registers .............................. 61
Program Memory
Extended Instruction Set ........................................... 78
Flash Configuration Words ........................................ 58
Hard Memory Vectors ................................................ 58
Instructions ................................................................ 65
Two-Word .......................................................... 65
Interrupt Vector .......................................................... 58
Look-up Tables .......................................................... 63
Memory Maps ............................................................ 57
Hard Vectors and
Configuration Words .................................. 58
Modes ........................................................................ 59
Extended Microcontroller ................................... 59
Extended Microcontroller
(Address Shifting) ...................................... 60
Memory Access (table) ...................................... 60
Microcontroller ................................................... 59
Reset Vector .............................................................. 58
Program Memory Modes
Operation of the External Memory Bus ..................... 96
Program Verification and Code Protection ...................... 284
Programming, Device Instructions ................................... 285
PSP.See Parallel Slave Port.
PSPMODE Bit (PSPCON Register) ................................. 144
Pulse-Width Modulation. See PWM (CCP Module).
PUSH ............................................................................... 314
PUSH and POP Instructions .............................................. 62
PUSHL ............................................................................. 330
PWM (CCP Module)
Associated Registers ............................................... 171
Duty Cycle ............................................................... 170
Example Frequencies/Resolutions .......................... 170
Period ...................................................................... 169
Setup for PWM Operation ....................................... 171
TMR2 to PR2 Match ................................................ 169
Q
Q Clock ............................................................................ 170