Datasheet
PIC18F6525/6621/8525/8621
DS39612C-page 390 2003-2013 Microchip Technology Inc.
PORTE
Analog Port Pins .......................................................128
Associated Registers ................................................116
Functions ..................................................................116
LATE Register........................................................... 114
PORTE Register ....................................................... 114
PSP Mode Select (PSPMODE Bit) ................... 111, 128
RE0/AD8/RD
/P2D Pin...............................................128
RE1/AD9/WR
/P2C Pin.............................................. 128
RE2/AD10/CS
/P2B Pin............................................. 128
TRISE Register......................................................... 114
PORTF
Associated Registers ................................................119
Functions ..................................................................119
LATF Register...........................................................117
PORTF Register ....................................................... 117
TRISF Register .........................................................117
PORTG
Associated Registers ................................................121
Functions ..................................................................121
LATG Register .......................................................... 120
PORTG Register....................................................... 120
TRISG Register......................................................... 120
PORTH
Associated Registers ................................................124
Functions ..................................................................124
LATH Register .......................................................... 122
PORTH Register....................................................... 122
TRISH Register......................................................... 122
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, 259
Oscillator Start-up Timer (OST) ..........................30, 259
Power-up Timer (PWRT) ....................................30, 259
Time-out Sequence..................................................... 30
Prescaler
Timer2....................................................................... 161
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 ................... 319
Product Identification System ...........................................393
Program Counter
PCL, PCLATH and PCLATU Register ........................ 44
Program Memory
Extended Microcontroller Mode ..................................39
Instructions.................................................................. 45
Two-Word ...........................................................46
Interrupt Vector ...........................................................39
Map and Stack for PIC18FX525 ................................. 40
Map and Stack for PIC18FX621 ................................. 40
Microcontroller Mode ..................................................39
Microprocessor Mode .................................................39
Microprocessor with Boot Block Mode........................ 39
Reset Vector ...............................................................39
Program Verification ......................................................... 270
Programming, Device Instructions.................................... 275
PSP. See Parallel Slave Port.
Pulse-Width Modulation. See PWM (CCP Module)
and PWM (ECCP Module).
PUSH................................................................................ 304
PWM (CCP Module) ......................................................... 154
Associated Registers................................................ 156
CCPR4H:CCPR4L 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
PWM (ECCP Module)....................................................... 160
Associated Registers................................................ 172
CCPR1H:CCPR1L Registers ................................... 160
Direction Change in Full-Bridge
Output Mode..................................................... 166
Duty Cycle ................................................................ 161
Effects of a Reset ..................................................... 171
Enhanced PWM Auto-Shutdown.............................. 168
Example Frequencies/Resolutions........................... 161
Full-Bridge Application Example............................... 166
Full-Bridge Mode ...................................................... 165
Half-Bridge Mode...................................................... 163
Half-Bridge Output Mode
Applications Example ....................................... 164
Output Configurations............................................... 162
Output Relationships (Active-High) .......................... 162
Output Relationships (Active-Low) ........................... 163
Period ....................................................................... 160
Programmable Dead-Band Delay............................. 168
Setup for PWM Operation ........................................ 171
Start-up Considerations............................................ 170
TMR2 to PR2 Match ................................................. 160
Q
Q Clock..................................................................... 154, 161
R
RAM. See Data Memory.
RC Oscillator....................................................................... 22
RCALL .............................................................................. 305
RCON Registers............................................................... 101
Register File........................................................................ 47
Registers
ADCON0 (A/D Control 0).......................................... 233
ADCON1 (A/D Control 1).......................................... 234
ADCON2 (A/D Control 2).......................................... 235
BAUDCONx (Baud Rate Control)............................. 216
CCPxCON (Capture/Compare/PWM
Control - CCP4, CCP5) .................................... 149
CCPxCON (Capture/Compare/PWM Control -
ECCP1, ECCP2, ECCP3 Modules).................. 157
CMCON (Comparator Control) ................................. 243
CONFIG1H (Configuration 1 High)........................... 260
CONFIG2H (Configuration 2 High)........................... 261
CONFIG2L (Configuration 2 Low) ............................ 261
CONFIG3H (Configuration 3 High)........................... 262
CONFIG3L (Configuration 3 Low) ...................... 41, 262
CONFIG4L (Configuration 4 Low) ............................ 263
CONFIG5H (Configuration 5 High)........................... 264
CONFIG5L (Configuration 5 Low) ............................ 263
CONFIG6H (Configuration 6 High)........................... 265
CONFIG6L (Configuration 6 Low) ............................ 264