Datasheet

PIC18(L)F1XK22
DS41365E-page 396 2009-2011 Microchip Technology Inc.
PRI_RUN .......................................................... 230
RC_RUN ........................................................... 230
SEC_RUN......................................................... 230
Selecting ................................................................... 229
Sleep Mode............................................................... 231
Summary (table) ....................................................... 229
Power-on Reset (POR) .....................................................247
Power-up Timer (PWRT) .......................................... 249
Time-out Sequence................................................... 249
Power-up Timer (PWRT)
Specifications............................................................351
Precision Internal Oscillator Parameters........................... 349
Prescaler, Timer0................................................................97
PRI_IDLE Mode ................................................................232
PRI_RUN Mode ................................................................ 230
Program Counter................................................................. 26
PCL, PCH and PCU Registers.................................... 26
PCLATH and PCLATU Registers ............................... 26
Program Memory
and Extended Instruction Set...................................... 45
Code Protection ........................................................ 270
Instructions.................................................................. 30
Two-Word ........................................................... 30
Interrupt Vector ...........................................................25
Look-up Tables ........................................................... 28
Map and Stack (diagram)............................................ 25
Reset Vector ...............................................................25
Program Verification and Code Protection........................ 268
Associated Registers ................................................ 270
Programming, Device Instructions .................................... 273
PSTRCON Register .......................................................... 128
Pulse Steering................................................................... 128
PUSH ................................................................................ 302
PUSH and POP Instructions ............................................... 27
PUSHL ..............................................................................318
PWM (ECCP Module)
Effects of a Reset......................................................131
Operation in Power Managed Modes ....................... 131
Operation with Fail-Safe Clock Monitor .................... 131
Pulse Steering........................................................... 128
Steering Synchronization .......................................... 130
PWM Mode. See Enhanced Capture/Compare/PWM ...... 115
PWM1CON Register .........................................................127
R
RAM. See Data Memory.
RC_IDLE Mode ................................................................. 233
RC_RUN Mode .................................................................230
RCALL............................................................................... 303
RCON Register ........................................................... 74, 246
Bit Status During Initialization ................................... 252
RCREG ............................................................................. 182
RCSTA Register................................................................185
Reader Response ............................................................. 402
Register
RCREG Register....................................................... 191
Register File ........................................................................ 35
Register File Summary........................................................ 37
Registers
ADCON0 (ADC Control 0) ........................................ 209
ADCON1 (ADC Control 1) ................................ 210, 211
ADRESH (ADC Result High) with ADFM = 0)........... 212
ADRESH (ADC Result High) with ADFM = 1)........... 212
ADRESL (ADC Result Low) with ADFM = 0) ............ 212
ADRESL (ADC Result Low) with ADFM = 1) ............ 212
ANSEL (Analog Select)............................................... 92
ANSELH (Analog Select High) ................................... 93
BAUDCON (EUSART Baud Rate Control) ............... 186
CCP1CON (Enhanced Capture/Compare/PWM
Control)............................................................. 111
CM1CON0 (C1 Control)............................................ 223
CM2CON0 (C2 Control)............................................ 224
CM2CON1 (C2 Control)............................................ 227
CONFIG1H (Configuration 1 High)........................... 259
CONFIG2H (Configuration 2 High)........................... 261
CONFIG2L (Configuration 2 Low) ............................ 260
CONFIG3H (Configuration 3 High)........................... 262
CONFIG4L (Configuration 4 Low) ............................ 262
CONFIG5H (Configuration 5 High)........................... 263
CONFIG5L (Configuration 5 Low) ............................ 263
CONFIG6H (Configuration 6 High)........................... 264
CONFIG6L (Configuration 6 Low) ............................ 264
CONFIG7H (Configuration 7 High)........................... 265
CONFIG7L (Configuration 7 Low) ............................ 265
DEVID1 (Device ID 1)............................................... 266
DEVID2 (Device ID 2)............................................... 266
ECCPAS (Enhanced CCP Auto-shutdown Control) . 123
EECON1 (Data EEPROM Control 1).................... 49, 58
INTCON (Interrupt Control)......................................... 65
INTCON2 (Interrupt Control 2).................................... 66
INTCON3 (Interrupt Control 3).................................... 67
IOCA (Interrupt-on-Change PORTA).......................... 80
IOCB (Interrupt-on-Change PORTB).......................... 85
IPR1 (Peripheral Interrupt Priority 1) .......................... 72
IPR2 (Peripheral Interrupt Priority 2) .......................... 73
LATA (PORTA Data Latch)......................................... 80
LATB (PORTB Data Latch)......................................... 84
LATC (PORTC Data Latch) ........................................ 89
OSCCON (Oscillator Control)............................... 18, 19
OSCTUNE (Oscillator Tuning).................................... 20
PIE1 (Peripheral Interrupt Enable 1)........................... 70
PIE2 (Peripheral Interrupt Enable 2)........................... 71
PIR1 (Peripheral Interrupt Request 1) ........................ 68
PIR2 (Peripheral Interrupt Request 2) ........................ 69
PORTA ....................................................................... 79
PORTB ................................................................. 84, 88
PSTRCON (Pulse Steering Control)......................... 128
PWM1CON (Enhanced PWM Control) ..................... 127
RCON (Reset Control)........................................ 74, 246
RCSTA (Receive Status and Control) ...................... 185
SLRCON (PORT Slew Rate Control) ......................... 94
SRCON0 (SR Latch Control 0) ................................. 236
SRCON1 (SR Latch Control 1) ................................. 237
SSPADD (MSSP Address and Baud Rate,
SPI Mode)......................................................... 153
SSPCON1 (MSSP Control 1, I
2
C Mode) .................. 144
SSPCON1 (MSSP Control 1, SPI Mode).................. 135
SSPCON2 (MSSP Control 2, I
2
C Mode) .................. 145
SSPMSK (SSP Mask)............................................... 152
SSPSTAT (MSSP Status, SPI Mode)............... 134, 143
STATUS ..................................................................... 40
STKPTR (Stack Pointer)............................................. 27
T0CON (Timer0 Control) ............................................ 95
T1CON (Timer1 Control) ............................................ 99
T2CON (Timer2 Control) .......................................... 105
T3CON (Timer3 Control) .......................................... 107
TRISA (Tri-State PORTA)........................................... 79
TRISB (Tri-State PORTB)..................................... 84, 88
TXSTA (Transmit Status and Control) ...................... 184
VREFCON0 .............................................................. 241
VREFCON1 .............................................................. 242