English
Language : 

PIC18F6X2X Datasheet, PDF (377/386 Pages) Microchip Technology – 64/80-Pin High Performance, 64-Kbyte Enhanced FLASH Microcontrollers with A/D
Program Memory
Extended Microcontroller Mode ................................. 41
Instructions ................................................................. 47
Two-Word .......................................................... 48
Interrupt Vector .......................................................... 41
Map and Stack for PIC18FX525 ................................ 42
Map and Stack for PIC18FX621 ................................ 42
Microcontroller Mode ................................................. 41
Microprocessor Mode ................................................ 41
Microprocessor with Boot Block Mode ....................... 41
RESET Vector ............................................................ 41
Program Verification ......................................................... 273
Program Verification and Code Protection
Associated Registers ............................................... 273
Configuration Register Protection ............................ 276
Data EEPROM Code Protection .............................. 276
Memory Code Protection ......................................... 274
Programming, Device Instructions ................................... 277
PSP. See Parallel Slave Port.
Pulse Width Modulation. See PWM (CCP Module)
and PWM (ECCP Module).
PUSH ............................................................................... 306
PWM (CCP Module) ......................................................... 156
Associated Registers ............................................... 157
CCPR1H:CCPR1L Registers ................................... 162
CCPR4H:CCPR4L Registers ................................... 156
Duty Cycle ........................................................ 156, 163
Example Frequencies/Resolutions .................. 157, 163
Period ............................................................... 156, 162
Setup for PWM Operation ........................................ 157
TMR2 to PR2 Match .................................143, 156, 162
TMR4 to PR4 Match ................................................ 149
PWM (ECCP Module) ...................................................... 162
Associated Registers ............................................... 174
Direction Change in Full-Bridge Output Mode ......... 168
Effects of a RESET .................................................. 173
Enhanced PWM Auto Shutdown .............................. 170
Full-Bridge Application Example .............................. 168
Full-Bridge Mode ...................................................... 167
Half-Bridge Mode ..................................................... 165
Half-Bridge Output Mode Applications Example ...... 166
Output Configurations .............................................. 164
Output Relationships (Active High) .......................... 164
Output Relationships (Active Low) ........................... 165
Programmable Dead Band Delay ............................ 170
Setup for PWM Operation ........................................ 173
Start-up Considerations ........................................... 172
Q
Q Clock .................................................................... 156, 163
R
RAM. See Data Memory.
RC Oscillator ...................................................................... 22
RCALL .............................................................................. 307
RCON Registers .............................................................. 103
Register File ....................................................................... 49
Registers
ADCON0 (A/D Control 0) ......................................... 235
ADCON1 (A/D Control 1) ......................................... 236
ADCON2 (A/D Control 2) ......................................... 237
BAUDCONx (Baud Rate Control) ............................ 218
CCPxCON
(Capture/Compare/PWM Control) ............ 151, 159
CMCON (Comparator Control) ................................ 243
PIC18F6X2X/8X2X
CONFIG1H (Configuration 1 High) .......................... 261
CONFIG2H (Configuration 2 High) .......................... 262
CONFIG2L (Configuration 2 Low) ........................... 262
CONFIG3H (Configuration 3 High) .......................... 263
CONFIG3L (Configuration 3 Low) ......................43, 263
CONFIG4L (Configuration 4 Low) ........................... 264
CONFIG5H (Configuration 5 High) .......................... 265
CONFIG5L (Configuration 5 Low) ........................... 265
CONFIG6H (Configuration 6 High) .......................... 266
CONFIG6L (Configuration 6 Low) ........................... 266
CONFIG7H (Configuration 7 High) .......................... 267
CONFIG7L (Configuration 7 Low) ........................... 267
CVRCON (Comparator Voltage
Reference Control) .......................................... 249
Device ID Register 1 ................................................ 268
Device ID Register 2 ................................................ 268
ECCPxAS (ECCP Auto Shutdown Control) ............. 171
ECCPxDEL (PWM Configuration) ........................... 170
EECON1 (Data EEPROM Control 1) ....................65, 82
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
LVDCON (LVD Control) ........................................... 255
MEMCON (Memory Control) ..................................... 73
OSCCON (Oscillator Configuration) .......................... 25
PIE1 (Peripheral Interrupt Enable 1) .......................... 97
PIE2 (Peripheral Interrupt Enable 2) .......................... 98
PIE3 (Peripheral Interrupt Enable 3) .......................... 99
PIR1 (Peripheral Interrupt Request 1) ....................... 94
PIR2 (Peripheral Interrupt Request 2) ....................... 95
PIR3 (Peripheral Interrupt Request 3) ....................... 96
PSPCON (Parallel Slave Port Control) .................... 131
RCON (RESET Control) ............................................ 61
RCON (Reset Control) ............................................. 103
RCSTAx (Receive Status and Control) .................... 217
SSPCON1 (MSSP Control 1) in I2C Mode .............. 186
SSPCON1 (MSSP Control 1) in SPI Mode .............. 177
SSPCON2 (MSSP Control 2) in I2C Mode .............. 187
SSPSTAT (MSSP Status) in I2C Mode .................... 185
SSPSTAT (MSSP Status) in SPI Mode ................... 176
STATUS .................................................................... 60
STKPTR (Stack Pointer) ............................................ 45
Summary ..............................................................53–56
T0CON (Timer0 Control) ......................................... 133
T1CON (Timer 1 Control) ........................................ 137
T2CON (Timer 2 Control) ........................................ 143
T3CON (Timer3 Control) ......................................... 145
T4CON (Timer 4 Control) ........................................ 149
TXSTAx (Transmit Status and Control) ................... 216
WDTCON (Watchdog Timer Control) ...................... 269
RESET ......................................................................259, 307
Reset ................................................................................. 31
MCLR Reset (normal operation) ................................ 31
MCLR Reset (SLEEP) ............................................... 31
Power-on Reset ......................................................... 31
Programmable Brown-out Reset (BOR) .................... 31
RESET Instruction ..................................................... 31
Stack Full Reset ......................................................... 31
Stack Underflow Reset .............................................. 31
Watchdog Timer (WDT) Reset .................................. 31
 2003 Microchip Technology Inc.
Advance Information
DS39612A-page 375