English
Language : 

PIC18FXX20 Datasheet, PDF (359/366 Pages) Microchip Technology – 64/80-Pin High Performance 1 Mbit Enhanced FLASH Microcontrollers with A/D
PORTJ
Associated Registers ............................................... 127
Functions ................................................................. 127
LATJ Register .......................................................... 125
PORTJ Register ....................................................... 125
TRISJ Register ......................................................... 125
Postscaler, WDT
Assignment (PSA Bit) .............................................. 133
Rate Select (T0PS2:T0PS0 Bits) ............................. 133
Switching Between Timer0 and WDT ...................... 133
Power-down Mode. See SLEEP
Power-on Reset (POR) .............................................. 30, 239
Oscillator Start-up Timer (OST) ......................... 30, 239
Power-up Timer (PWRT) ................................... 30, 239
Time-out Sequence .................................................... 30
Prescaler, Capture ........................................................... 151
Prescaler, Timer0 ............................................................. 133
Assignment (PSA Bit) .............................................. 133
Rate Select (T0PS2:T0PS0 Bits) ............................. 133
Switching Between Timer0 and WDT ...................... 133
Prescaler, Timer2 ............................................................. 154
PRO MATE II Universal Device Programmer .................. 303
Product Identification System ........................................... 363
Program Counter
PCL, PCLATH and PCLATU Registers ..................... 44
Program Memory ............................................................... 39
Access for PIC18F8X20 Program
Memory Modes .................................................. 40
Instructions ................................................................. 45
Interrupt Vector .......................................................... 39
Map and Stack for PIC18FXX20 ................................ 40
Maps for PIC18F8X20 Program
Memory Modes .................................................. 41
PIC18F8X20 Modes ................................................... 39
RESET Vector ............................................................ 39
Program Memory Write Timing Requirements ................. 325
Program Verification and Code Protection ....................... 253
Associated Registers ............................................... 253
Configuration Register Protection ............................ 257
Data EEPROM Code Protection .............................. 257
Memory Code Protection ......................................... 255
Programming, Device Instructions ................................... 259
PSP.See Parallel Slave Port.
Pulse Width Modulation. See PWM (CCP Module).
PUSH ............................................................................... 288
PWM (CCP Module) ......................................................... 154
Associated Registers ............................................... 155
CCPR1H:CCPR1L Registers ................................... 154
Duty Cycle ................................................................ 154
Example Frequencies/Resolutions .......................... 155
Period ....................................................................... 154
Setup for PWM Operation ........................................ 155
TMR2 to PR2 Match ........................................ 141, 154
TMR4 to PR4 Match ................................................ 147
Q
Q Clock ............................................................................ 154
PIC18FXX20
R
RAM. See Data Memory
RC Oscillator ...................................................................... 22
RCALL ............................................................................. 289
RCON Registers .............................................................. 101
RCSTA Register
SPEN Bit .................................................................. 197
Register File ....................................................................... 47
Registers
ADCON0 (A/D Control 0) ......................................... 213
ADCON1 (A/D Control 1) ......................................... 214
ADCON2 (A/D Control 2) ......................................... 215
CCPxCON (Capture/Compare/
PWM Control) .................................................. 149
CMCON (Comparator Control) ................................ 223
CONFIG1H (Configuration 1 High) .......................... 241
CONFIG2H (Configuration 2 High) .......................... 242
CONFIG2L (Configuration 2 Low) ........................... 241
CONFIG3H (Configuration 3 High) .......................... 243
CONFIG3L (Configuration 3 Low) ........................... 242
CONFIG3L (Configuration Byte) ................................ 41
CONFIG4L (Configuration 4 Low) ........................... 243
CONFIG5H (Configuration 5 High) .......................... 245
CONFIG5L (Configuration 5 Low) ........................... 244
CONFIG6H (Configuration 6 High) .......................... 247
CONFIG6L (Configuration 6 Low) ........................... 246
CONFIG7H (Configuration 7 High) .......................... 249
CONFIG7L (Configuration 7 Low) ........................... 248
CVRCON (Comparator Voltage
Reference Control) .......................................... 229
Device ID 1 .............................................................. 249
Device ID 2 .............................................................. 249
EECON1 (Data EEPROM Control 1) ....................63, 80
INTCON (Interrupt Control) ........................................ 89
INTCON2 (Interrupt Control 2) ................................... 90
INTCON3 (Interrupt Control 3) ................................... 91
IPR1 (Peripheral Interrupt Priority 1) ......................... 98
IPR2 (Peripheral Interrupt Priority 2) ......................... 99
IPR3 (Peripheral Interrupt Priority 3) ....................... 100
LVDCON (LVD Control) ........................................... 235
MEMCON (Memory Control) ..................................... 71
OSCCON ................................................................... 25
PIE1 (Peripheral Interrupt Enable 1) .......................... 95
PIE2 (Peripheral Interrupt Enable 2) .......................... 96
PIE3 (Peripheral Interrupt Enable 3) .......................... 97
PIR1 (Peripheral Interrupt Request 1) ....................... 92
PIR2 (Peripheral Interrupt Request 2) ....................... 93
PIR3 (Peripheral Interrupt Request 3) ....................... 94
PSPCON (Parallel Slave Port Control) .................... 129
RCON ........................................................................ 31
RCON (Reset Control) ........................................60, 101
RCSTAx (Receive Status and Control) .................... 199
SSPCON1 (MSSP Control 1) - I2C Mode ................ 168
SSPCON1 (MSSP Control 1) - SPI Mode ............... 159
SSPCON2 (MSSP Control 2) - I2C Mode ................ 169
SSPSTAT (MSSP Status) - I2C Mode ..................... 167
SSPSTAT (MSSP Status) - SPI Mode ..................... 158
STATUS .................................................................... 59
STKPTR (Stack Pointer) ............................................ 43
Summary ..............................................................52–55
 2003 Microchip Technology Inc.
Advance Information
DS39609A-page 357