Datasheet

2010 Microchip Technology Inc. Preliminary DS39974A-page 549
PIC18F47J13 FAMILY
VSS1 ..................................................................... 21, 29
V
SS2 ..................................................................... 21, 29
Pinout I/O Descriptions
PIC18F2XJ13 (28-Pin) ............................................... 16
PIC18F4XJ13 (44-Pin) ............................................... 22
PIR Registers ................................................................... 124
PLL Frequency Multiplier ................................................... 38
POP .................................................................................. 462
POR. See Power-on Reset.
PORTA
Additional Pin Functions
Ultra Low-Power Wake-up ................................. 61
Associated Registers ............................................... 145
LATA Register .......................................................... 143
PORTA Register ...................................................... 143
TRISA Register ........................................................ 143
PORTB
Associated Registers ............................................... 149
LATB Register .......................................................... 146
PORTB Register ...................................................... 146
RB7:RB4 Interrupt-on-Change Flag (RBIF Bit) ........ 146
TRISB Register ........................................................ 146
PORTC
Associated Registers ............................................... 152
LATC Register ......................................................... 150
PORTC Register ...................................................... 150
TRISC Register ........................................................ 150
PORTD
Associated Registers ............................................... 155
LATD Register ......................................................... 153
PORTD Register ...................................................... 153
TRISD Register ........................................................ 153
PORTE
Associated Registers ............................................... 157
LATE Register .......................................................... 156
PORTE Register ...................................................... 156
TRISE Register ........................................................ 156
Power-Managed Modes
and EUSART Operation ........................................... 349
and PWM Operation
................................................ 289
and SPI Operation ................................................... 300
Clock Sources ............................................................ 47
Entering ...................................................................... 47
Selecting .................................................................... 47
Power-on Reset (POR) ...................................................... 67
Power-up Delays ................................................................ 45
Power-up Timer (PWRT) .............................................. 45, 68
Time-out Sequence .................................................... 68
Prescaler, Capture ........................................................... 263
Prescaler, Timer0 ............................................................. 207
Prescaler, Timer2 ............................................................. 267
PRI_IDLE Mode ................................................................. 52
PRI_RUN Mode ................................................................. 49
Product Identification System ........................................... 556
Program Counter ................................................................ 83
PCL, PCH and PCU Registers ................................... 83
PCLATH and PCLATU Registers .............................. 83
Program Memory
ALU
STATUS ........................................................... 100
Extended Instruction Set .......................................... 103
Flash Configuration Words ........................................ 82
Hard Memory Vectors ................................................ 82
Instructions ................................................................ 87
Two-Word .......................................................... 87
Interrupt Vector .......................................................... 82
Look-up Tables .......................................................... 85
Memory Maps ............................................................ 81
Hard Vectors and Configuration Words ............. 82
Reset Vector .............................................................. 82
Program Verification and Code Protection ...................... 430
Programming, Device Instructions ................................... 433
Pulse Steering ................................................................. 286
Pulse-Width Modulation. See
PWM (CCP Module).
PUSH ............................................................................... 462
PUSH and POP Instructions .............................................. 84
PUSHL ............................................................................. 478
PWM (CCP Module)
Associated Registers ............................................... 268
Duty Cycle ............................................................... 267
Example Frequencies/Resolutions .......................... 267
Period ...................................................................... 266
Setup for PWM Operation ........................................ 267
TMR2 to PR2 Match ................................................ 266
PWM (ECCP Module)
Effects of a Reset .................................................... 289
Operation in Power-Managed Modes ...................... 289
Operation with Fail-Safe Clock Monitor ................... 289
Pulse Steering ......................................................... 286
Steering Synchronization ......................................... 288
PWM Mode. See Enhanced Capture/Compare/PWM.
Q
Q Clock ............................................................................ 267
R
RAM. See Data Memory.
RBIF Bit ........................................................................... 146
RC_IDLE Mode .................................................................. 54
RC_RUN Mode .................................................................. 50
RCALL ............................................................................. 463
RCON Register
Bit Status During Initialization .................................... 70
Reader Response ............................................................ 555
Real-Time Clock and Calendar (RTCC) .......................... 237
Operation ................................................................. 249
Registers ................................................................. 238
Reference Clock Output .................................................... 44
Register File ....................................................................... 90
Registers
ADCON0 (A/D Control 0) ......................................... 368
ADCON1 (A/D Control 1) ......................................... 369
ADCTRIG (A/D Trigger) ........................................... 376
ALRMCFG (Alarm Configuration) ............................ 241
ALRMDAY (Alarm Day Value) ................................. 246
ALRMHR (Alarm Hours Value) ................................ 247
ALRMMIN (Alarm Minutes Value) ............................ 248
ALRMMNTH (Alarm Month Value) .......................... 246
ALRMRPT (Alarm Repeat Counter) ........................ 242
ALRMSEC (Alarm Seconds Value) ......................... 248
ALRMWD (Alarm Weekday Value) .......................... 247
ANCON0 (A/D Port Configuration 0) ....................... 371
ANCON1 (A/D Port Configuration 1) ....................... 371
Associated with Comparator .................................... 379
Associated with Program Flash Memory ................. 116
BAUDCONx (Baud Rate Control) ............................ 348