English
Language : 

PIC18F6390 Datasheet, PDF (405/412 Pages) Microchip Technology – 64/80-Pin Flash Microcontrollers with LCD Driver and nanoWatt Technology
PIC18F6390/6490/8390/8490
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
Postscaler, WDT
Assignment (PSA Bit) .............................................. 133
Rate Select (T0PS2:T0PS0 Bits) ............................. 133
Switching Between Timer0 and WDT ...................... 133
Power Managed Modes ..................................................... 41
and Multiple Sleep Commands .................................. 42
Entering ...................................................................... 41
Exiting Idle and Sleep Modes
by Reset ............................................................. 48
by WDT Time-out ............................................... 48
Without a Start-up Delay .................................... 48
Exiting Idle or Sleep Modes ....................................... 48
by Interrupt ......................................................... 48
Idle Modes ................................................................. 45
PRI_IDLE ........................................................... 46
Run Modes ................................................................. 42
PRI_RUN ........................................................... 42
RC_RUN ............................................................ 44
SEC_RUN .......................................................... 42
Selecting .................................................................... 41
Sleep Mode ................................................................ 45
Summary (table) ........................................................ 41
Power-on Reset (POR) .............................................. 53, 281
Oscillator Start-up Timer (OST) ................................. 55
Power-up Timer (PWRT) ................................... 55, 281
Time-out Sequence .................................................... 55
Power-up Delays ................................................................ 39
Power-up Timer (PWRT) ............................................. 39, 55
Prescaler, Capture ........................................................... 150
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 ................................................. 347
Program Counter ............................................................... 66
PCL, PCH and PCU Registers ................................... 66
PCLATH and PCLATU Registers .............................. 66
Program Memory
and Extended Instruction Set .................................... 84
Instructions ................................................................ 70
Two-Word .......................................................... 70
Interrupt Vector .......................................................... 65
Map and Stack (diagram) .......................................... 65
Reset Vector .............................................................. 65
Program Verification and Code Protection ...................... 292
Associated Registers ............................................... 292
Programming, Device Instructions ................................... 295
Pulse Width Modulation. See PWM (CCP Module).
PUSH ............................................................................... 324
PUSH and POP Instructions .............................................. 67
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 Oscillator ...................................................................... 33
RCIO Oscillator Mode ................................................ 33
RCALL ............................................................................. 325
RCON Register
Bit Status During Initialization .................................... 58
Reading Program Memory and Other Locations ............. 292
Register File ....................................................................... 73
Register File Summary ................................................ 76–79
Registers
ADCON0 (A/D Control 0) ......................................... 231
ADCON1 (A/D Control 1) ......................................... 232
ADCON2 (A/D Control 2) ......................................... 233
BAUDCON1 (Baud Rate Control 1) ......................... 200
CCPxCON (Capture/Compare/PWM
Control - CCP1, CCP2) ................................... 147
CMCON (Comparator Control) ................................ 241
CONFIG1H (Configuration 1 High) .......................... 282
CONFIG2H (Configuration 2 High) .......................... 284
CONFIG2L (Configuration 2 Low) ........................... 283
CONFIG3H (Configuration 3 High) .......................... 284
CONFIG4L (Configuration 4 Low) ........................... 285
CONFIG5L (Configuration 5 Low) ........................... 285
CVRCON (Comparator Voltage
Reference Control) .......................................... 247
Device ID 1 .............................................................. 286
Device ID 2 .............................................................. 286
HLVDCON (HLVD Control) ..................................... 251
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) .......................................... 258
LCDDATAx (LCD Data) ........................................... 261
LCDPS (LCD Phase) ............................................... 259
LCDSEx (LCD Segment Enable) ............................. 260
 2004 Microchip Technology Inc.
Preliminary
DS39629B-page 403