English
Language : 

PIC18F2220_07 Datasheet, PDF (378/386 Pages) Microchip Technology – 28/40/44-Pin High-Performance, Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
PIC18F2220/2320/4220/4320
PORTC
Associated Registers ............................................... 108
LATC Register .......................................................... 107
PORTC Register ...................................................... 107
TRISC Register ........................................................ 107
PORTD
Associated Registers ............................................... 110
LATD Register .......................................................... 109
Parallel Slave Port (PSP) Function .......................... 109
PORTD Register ...................................................... 109
TRISD Register ........................................................ 109
PORTE
Analog Port Pins ...................................................... 113
Associated Registers ............................................... 113
LATE Register .......................................................... 111
PORTE Register ...................................................... 111
PSP Mode Select (PSPMODE Bit) .......................... 109
RE0/AN5/RD Pin ...................................................... 113
RE1/AN6/WR Pin ..................................................... 113
RE2/AN7/CS Pin ...................................................... 113
TRISE Register ........................................................ 111
Postscaler, WDT
Assignment (PSA Bit) ............................................... 119
Rate Select (T0PS2:T0PS0 Bits) ............................. 119
Power-Managed Modes ..................................................... 29
Entering ...................................................................... 30
Idle Modes .................................................................. 31
Run Modes ................................................................. 36
Sleep Mode ................................................................ 31
Summary (table) ......................................................... 29
Wake from .................................................................. 38
Power-on Reset (POR) .............................................. 44, 237
Power-up Delays ................................................................ 27
Power-up Timer (PWRT) ...................................... 27, 44, 237
Prescaler, Capture ........................................................... 135
Prescaler, Timer0 ............................................................. 119
Assignment (PSA Bit) ............................................... 119
Rate Select (T0PS2:T0PS0 Bits) ............................. 119
Prescaler, Timer2 ............................................................. 139
Product Identification System ........................................... 382
Program Counter
PCL Register .............................................................. 56
PCLATH Register ....................................................... 56
PCLATU Register ....................................................... 56
Program Memory
Instructions ................................................................. 58
Two-Word .......................................................... 58
Interrupt Vector .......................................................... 53
Map and Stack for PIC18F2220/4220 ........................ 53
Map and Stack for PIC18F2320/4320 ........................ 53
Reset Vector .............................................................. 53
Program Memory Code Protection ................................... 252
Program Verification ......................................................... 251
Program Verification and Code Protection
Associated Registers ............................................... 251
Programming, Device Instructions ................................... 255
PSP. See Parallel Slave Port.
Pulse Width Modulation. See PWM (CCP Module)
and PWM (ECCP Module).
PUSH ............................................................................... 284
PUSH and POP Instructions .............................................. 55
PWM (CCP Module) ........................................................ 138
Associated Registers ............................................... 139
CCPR1H:CCPR1L Registers ................................... 138
Duty Cycle ............................................................... 138
Example Frequencies/Resolutions .......................... 139
Period ...................................................................... 138
Setup for PWM Operation ........................................ 139
TMR2 to PR2 Match .........................................127, 138
PWM (ECCP Module) ...................................................... 143
Associated Registers ............................................... 153
Direction Change in Full-Bridge
Output Mode .................................................... 147
Effects of a Reset .................................................... 152
Full-Bridge Application Example .............................. 147
Full-Bridge Mode ..................................................... 146
Half-Bridge Mode ..................................................... 145
Half-Bridge Output Mode
Applications Example ...................................... 145
Operation in Power-Managed Modes ...................... 152
Operation with Fail-Safe Clock Monitor ................... 152
Output Configurations .............................................. 143
Output Relationships (Active-High State) ................ 144
Output Relationships (Active-Low State) ................. 144
Programmable Dead Band Delay ............................ 149
Setup for Operation ................................................. 152
Shoot-Through Current ............................................ 149
Start-up Considerations ........................................... 151
Q
Q Clock ............................................................................ 139
R
RAM. See Data Memory.
RC Oscillator ...................................................................... 21
RCIO Oscillator Mode ................................................ 21
RCALL ............................................................................. 285
RCON Register
Bit Status During Initialization .................................... 45
Bits and Positions ...................................................... 45
RCSTA Register
SPEN Bit .................................................................. 195
Reader Response ............................................................ 381
Register File ....................................................................... 59
Registers
ADCON0 (A/D Control 0) ......................................... 211
ADCON1 (A/D Control 1) ......................................... 212
ADCON2 (A/D Control 2) ......................................... 213
CCP1CON (Enhanced CCP Operation
Control 1) ......................................................... 141
CCPxCON (Capture/Compare/PWM Control) ......... 133
CMCON (Comparator Control) ................................ 221
CONFIG1H (Configuration 1 High) .......................... 238
CONFIG2H (Configuration 2 High) .......................... 239
CONFIG2L (Configuration 2 Low) ........................... 239
CONFIG3H (Configuration 3 High) .......................... 240
CONFIG4L (Configuration 4 Low) ........................... 240
CONFIG5H (Configuration 5 High) .......................... 241
CONFIG5L (Configuration 5 Low) ........................... 241
CONFIG6H (Configuration 6 High) .......................... 242
CONFIG6L (Configuration 6 Low) ........................... 242
CONFIG7H (Configuration 7 High) .......................... 243
DS39599F-page 376
© 2007 Microchip Technology Inc.