Datasheet
PIC18F47J53 FAMILY
DS39964B-page 572 Preliminary 2010 Microchip Technology Inc.
USTAT FIFO .............................................................385
Watchdog Timer........................................................ 451
BN .....................................................................................468
BNC...................................................................................469
BNN...................................................................................469
BNOV................................................................................ 470
BNZ...................................................................................470
BOR. See Brown-out Reset.
BOV...................................................................................473
BRA................................................................................... 471
Break Character (12-Bit) Transmit and Receive ............... 360
BRG. See Baud Rate Generator.
Brown-out Reset (BOR) ...................................................... 67
and On-Chip Voltage Regulator................................ 454
Detecting.....................................................................67
Disabling in Sleep Mode ............................................. 67
BSF ................................................................................... 471
BTFSC ..............................................................................472
BTFSS............................................................................... 472
BTG................................................................................... 473
BZ......................................................................................474
C
C Compilers
MPLAB C18 .............................................................. 510
Calibration (A/D Converter)...............................................377
CALL .................................................................................474
CALLW..............................................................................503
Capture (CCP Module)...................................................... 262
Associated Registers ................................................265
CCP Pin Configuration.............................................. 262
CCPR4H:CCPR4L Registers....................................262
Software Interrupt .....................................................263
Timer1/Timer3 Mode Selection................................. 262
Capture (ECCP Module) ...................................................272
CCPRxH:CCPRxL Registers ....................................272
ECCP Pin Configuration ........................................... 272
Prescaler...................................................................273
Software Interrupt .....................................................273
Timer1/Timer3 Mode Selection................................. 273
Capture/Compare/PWM (CCP).........................................257
Capture Mode. See Capture.
CCP Mode and Timer Resources ............................. 261
CCP6/7/8/9 Pin Assignment ..................................... 262
CCPRxH Register .....................................................261
CCPRxL Register...................................................... 261
Compare Mode. See Compare.
Configuration............................................................. 261
Open-Drain Output Option ........................................ 262
CCP................................................................................... 261
Clock Sources.....................................................................42
Effects of Power-Managed Modes ..............................46
Selecting the 31 kHz Source....................................... 42
Selection Using OSCCON Register............................42
CLRF................................................................................. 475
CLRWDT........................................................................... 475
Code Examples
16 x 16 Signed Multiply Routine ............................... 120
16 x 16 Unsigned Multiply Routine ........................... 120
512-Byte SPI Master Mode Init and Transfer............ 308
8 x 8 Signed Multiply Routine ................................... 119
8 x 8 Unsigned Multiply Routine ............................... 119
A/D Calibration Routine ............................................378
Calculating Baud Rate Error ..................................... 350
Capacitance Calibration Routine ..............................432
Capacitive Touch Switch Routine ............................. 434
Changing Between Capture Prescalers............ 263, 273
Communicating with the +5V System....................... 142
Computed GOTO Using an Offset Value.................... 85
Configuring EUSART2 Input and
Output Functions .............................................. 164
Current Calibration Routine ...................................... 430
Erasing Flash Program Memory............................... 114
Fast Register Stack .................................................... 85
How to Clear RAM (Bank 1) Using
Indirect Addressing........................................... 103
Initializing PORTA..................................................... 145
Initializing PORTB..................................................... 148
Initializing PORTC .................................................... 152
Initializing PORTD .................................................... 155
Initializing PORTE..................................................... 158
Loading the SSP1BUF (SSP1SR) Register.............. 295
Reading a Flash Program Memory Word ................. 113
Saving STATUS, WREG and BSR
Registers in RAM.............................................. 140
Setting the RTCWREN Bit........................................ 251
Setup for CTMU Calibration Routines ...................... 429
Two-Word Instructions................................................ 87
Ultra Low-Power Wake-up Initialization ...................... 62
Writing to Flash Program Memory ............................ 116
Code Protection ................................................................ 441
COMF ............................................................................... 476
Comparator....................................................................... 407
Analog Input Connection Considerations ................. 410
Associated Registers ................................................ 413
Configuration ............................................................ 411
Control ...................................................................... 411
Effects of a Reset ..................................................... 413
Enable and Input Selection....................................... 411
Enable and Output Selection .................................... 411
Interrupts .................................................................. 412
Operation.................................................................. 410
Operation During Sleep ............................................ 413
Registers .................................................................. 407
Response Time......................................................... 410
Comparator Specifications................................................ 529
Comparator Voltage Reference ........................................ 415
Accuracy and Error................................................... 417
Associated Registers ................................................ 417
Configuring ............................................................... 416
Connection Considerations....................................... 417
Effects of a Reset ..................................................... 417
Operation During Sleep ............................................ 417
Compare (CCP Module) ................................................... 263
Associated Registers ................................................ 265
CCP Pin Configuration.............................................. 263
CCPR4 Register ....................................................... 263
Software Interrupt ..................................................... 263
Special Event Trigger ............................................... 263
Timer1/Timer3 Mode Selection................................. 263
Compare (ECCP Module)................................................. 274
CCPRx Register ....................................................... 274
Pin Configuration ...................................................... 274
Software Interrupt ..................................................... 274
Special Event Trigger ....................................... 230, 274
Timer1/Timer3 Mode Selection................................. 274
Computed GOTO................................................................ 85
Configuration Bits ............................................................. 441
Configuration Mismatch (CM) Reset................................... 68
Configuration Register Protection..................................... 457
Configuration Registers