English
Language : 

PIC18F23K20 Datasheet, PDF (413/420 Pages) Microchip Technology – 28/40/44-Pin Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
PIC18F2XK20/4XK20
TRISD Register ........................................................ 124
PORTE
Associated Registers ............................................... 129
LATE Register .......................................................... 127
PORTE Register ...................................................... 127
PSP Mode Select (PSPMODE Bit) .......................... 124
TRISE Register ........................................................ 127
Power Managed Modes ..................................................... 41
and A/D Operation ................................................... 253
and PWM Operation ................................................ 180
and SPI Operation ................................................... 191
Clock Transitions and Status Indicators ..................... 42
Effects on Clock Sources ........................................... 34
Entering ...................................................................... 41
Exiting Idle and Sleep Modes .................................... 46
by Interrupt ......................................................... 46
by Reset ............................................................. 46
by WDT Time-out ............................................... 46
Without a Start-up Delay .................................... 47
Idle Modes ................................................................. 43
PRI_IDLE ........................................................... 45
RC_IDLE ............................................................ 46
SEC_IDLE ......................................................... 45
Multiple Sleep Functions ............................................ 42
Run Modes ................................................................. 42
PRI_RUN ........................................................... 42
RC_RUN ............................................................ 43
SEC_RUN .......................................................... 42
Selecting .................................................................... 41
Sleep Mode ................................................................ 43
Summary (table) ........................................................ 41
Power-on Reset (POR) ...................................................... 51
Power-up Timer (PWRT) ........................................... 53
Time-out Sequence .................................................... 53
Power-up Delays ................................................................ 34
Power-up Timer (PWRT) ................................................... 34
Prescaler, Timer0 ............................................................. 137
PRI_IDLE Mode ................................................................. 45
PRI_RUN Mode ................................................................. 42
Program Counter ............................................................... 64
PCL, PCH and PCU Registers ................................... 64
PCLATH and PCLATU Registers .............................. 64
Program Memory
and Extended Instruction Set ..................................... 84
Code Protection ....................................................... 295
Instructions ................................................................. 68
Two-Word .......................................................... 68
Interrupt Vector .......................................................... 63
Look-up Tables .......................................................... 66
Map and Stack (diagram) ........................................... 63
Reset Vector .............................................................. 63
Program Verification and Code Protection ....................... 294
Associated Registers ............................................... 294
Programming, Device Instructions ................................... 299
PSP. See Parallel Slave Port.
PSTRCON Register ......................................................... 177
Pulse Steering .................................................................. 177
PUSH ............................................................................... 328
PUSH and POP Instructions .............................................. 65
PUSHL ............................................................................. 344
PWM (CCP Module)
Associated Registers ............................................... 161
PWM (ECCP Module)
Effects of a Reset ..................................................... 180
Operation in Power Managed Modes ...................... 180
Operation with Fail-Safe Clock Monitor ................... 180
Pulse Steering ......................................................... 177
Steering Synchronization ......................................... 179
PWM Mode. See Enhanced Capture/Compare/PWM ..... 165
PWM1CON Register ........................................................ 176
R
RAM. See Data Memory.
RC_IDLE Mode .................................................................. 46
RC_RUN Mode .................................................................. 43
RCALL ............................................................................. 329
RCON Register .......................................................... 50, 112
Bit Status During Initialization .................................... 56
RCREG ............................................................................ 230
RCSTA Register .............................................................. 233
Reader Response ............................................................ 410
Register
RCREG Register ..................................................... 239
Register File ....................................................................... 74
Register File Summary ................................................ 76–78
Registers
ADCON0 (ADC Control 0) ....................................... 255
ADCON1 (ADC Control 1) ............................... 256, 257
ADRESH (ADC Result High) with ADFM = 0) ......... 258
ADRESH (ADC Result High) with ADFM = 1) ......... 258
ADRESL (ADC Result Low) with ADFM = 0) ........... 258
ADRESL (ADC Result Low) with ADFM = 1) ........... 258
ANSEL (Analog Select 1) ........................................ 130
ANSEL (PORT Analog Control) ............................... 130
ANSELH (Analog Select 2) ...................................... 131
ANSELH (PORT Analog Control) ............................ 131
BAUDCTL (Baud Rate Control) ............................... 234
BAUDCTL (EUSART Baud Rate Control) ............... 234
CCP1CON (Enhanced Capture/Compare/PWM
Control) ............................................................ 163
CCP2CON (Standard Capture/Compare/
PWM Control) .................................................. 151
CM1CON0 (C1 Control) .......................................... 268
CM2CON0 (C2 Control) .......................................... 269
CM2CON1 (C2 Control) .......................................... 271
CONFIG1H (Configuration 1 High) .......................... 285
CONFIG2H (Configuration 2 High) .......................... 286
CONFIG2L (Configuration 2 Low) ........................... 286
CONFIG3H (Configuration 3 High) .......................... 287
CONFIG4L (Configuration 4 Low) ........................... 287
CONFIG5H (Configuration 5 High) .......................... 288
CONFIG5L (Configuration 5 Low) ........................... 288
CONFIG6H (Configuration 6 High) .......................... 289
CONFIG6L (Configuration 6 Low) ........................... 289
CONFIG7H (Configuration 7 High) .......................... 290
CONFIG7L (Configuration 7 Low) ........................... 290
CVRCON (Comparator Voltage Reference Control)
CVRCON Register ........................................... 275
CVRCON2 (Comparator Voltage Reference Control 2)
CVRCON2 Register ......................................... 276
DEVID1 (Device ID 1) .............................................. 291
DEVID2 (Device ID 2) .............................................. 291
ECCPAS (Enhanced CCP Auto-shutdown Control) 173
EECON1 (Data EEPROM Control 1) ................... 87, 96
HLVDCON (High/Low-Voltage Detect Control) ....... 277
INTCON (Interrupt Control) ..................................... 103
INTCON2 (Interrupt Control 2) ................................ 104
INTCON3 (Interrupt Control 3) ................................ 105
IPR1 (Peripheral Interrupt Priority 1) ....................... 110
IPR2 (Peripheral Interrupt Priority 2) ....................... 111
OSCCON (Oscillator Control) .................................... 27
© 2007 Microchip Technology Inc.
Advance Information
DS41303B-page 411