English
Language : 

PIC18F86K22-I Datasheet, PDF (536/550 Pages) Microchip Technology – 64/80-Pin, High-Performance, 1-Mbit Enhanced Flash Microcontrollers
PIC18F87K22 FAMILY
BNZ ................................................................................... 442
BOR. See Brown-out Reset.
BOV................................................................................... 445
BRA................................................................................... 443
Break Character (12-Bit) Transmit and Receive ............... 344
BRG. See Baud Rate Generator.
Brown-out Reset (BOR) ...................................................... 75
Detecting ..................................................................... 75
BSF ................................................................................... 443
BTFSC .............................................................................. 444
BTFSS............................................................................... 444
BTG................................................................................... 445
BZ...................................................................................... 446
C
C Compilers
MPLAB C18 .............................................................. 482
CALL ................................................................................. 446
CALLW.............................................................................. 475
Capture (CCP Module)...................................................... 250
CCPR4H:CCPR4L Registers.................................... 250
Pin Configuration ...................................................... 250
Prescaler ................................................................... 251
Software Interrupt ..................................................... 251
Timer1/3/5/7 Mode Selection .................................... 250
Capture (ECCP Module) ................................................... 263
CCPRxH:CCPRxL Registers .................................... 263
Pin Configuration ...................................................... 263
Prescaler ................................................................... 263
Software Interrupt ..................................................... 263
Timer1/2/3/4/6/8/10/12 Mode Selection .................... 263
Capture, Compare, Timer1/3/5/7
Associated Registers ................................................ 253
Capture/Compare/PWM (CCP)......................................... 245
Capture Mode. See Capture.
CCP Mode and Timer Resources ............................. 249
CCP6/7/8/9 Pin Assignment ..................................... 250
CCPRxH Register ..................................................... 249
CCPRxL Register...................................................... 249
Compare Mode. See Compare.
Configuration............................................................. 249
Open-Drain Output Option ........................................ 250
Charge Time Measurement Unit (CTMU) ......................... 385
Associated Registers ................................................ 401
Calibrating the Module .............................................. 390
Creating a Delay ....................................................... 399
Effects of a Reset...................................................... 401
Measuring Capacitance with the CTMU ................... 396
Measuring Temperature............................................ 400
Measuring Time ........................................................ 398
Module Initialization .................................................. 390
Operation .................................................................. 389
During Sleep and Idle Modes............................ 401
Clock Sources ..................................................................... 48
Default System Clock on Reset .................................. 49
Selection ..................................................................... 48
CLRF................................................................................. 447
CLRWDT........................................................................... 447
Code Examples
16 x 16 Signed Multiply Routine ............................... 140
16 x 16 Unsigned Multiply Routine ........................... 140
8 x 8 Signed Multiply Routine ................................... 139
8 x 8 Unsigned Multiply Routine ............................... 139
Capacitance Calibration Routine .............................. 395
Changing Between Capture Prescalers ............ 251, 263
Computed GOTO Using an Offset Value .................... 91
DS39960D-page 536
Current Calibration Routine ...................................... 393
Data EEPROM Read ................................................ 136
Data EEPROM Refresh Routine............................... 137
Data EEPROM Write ................................................ 136
Erasing a Flash Program Memory Row.................... 116
Fast Register Stack .................................................... 91
How to Clear RAM (Bank 1) Using
Indirect Addressing........................................... 105
Initializing PORTA..................................................... 170
Initializing PORTB..................................................... 172
Initializing PORTC .................................................... 174
Initializing PORTD .................................................... 176
Initializing PORTE..................................................... 178
Initializing PORTF..................................................... 181
Initializing PORTG .................................................... 183
Initializing PORTH .................................................... 185
Initializing PORTJ ..................................................... 187
Loading the SSP1BUF (SSP1SR) Register.............. 284
Reading a Flash Program Memory Word ................. 115
Routine for Capacitive Touch Switch........................ 397
Routine for Temperature Measurement
Using Internal Diode ......................................... 400
Saving STATUS, WREG and BSR Registers
in RAM.............................................................. 163
Setting the RTCWREN Bit ........................................ 239
Setup for CTMU Calibration Routines ...................... 392
Ultra Low-Power Wake-up Initialization ...................... 70
Writing to Flash Program Memory .................... 119–120
Code Protection ................................................................ 403
COMF ............................................................................... 448
Comparator....................................................................... 367
Analog Input Connection, Considerations ................ 370
Associated Registers ................................................ 374
Configuration and Control......................................... 371
Effects of a Reset ..................................................... 374
Enable and Input Selection....................................... 371
Enable and Output Selection .................................... 371
Interrupts .................................................................. 373
Operation .................................................................. 370
Operation During Sleep ............................................ 374
Response Time......................................................... 370
Comparator Specifications................................................ 500
Comparator Voltage Reference ........................................ 375
Accuracy and Error ................................................... 376
Associated Registers ................................................ 377
Configuring ............................................................... 375
Connection Considerations....................................... 376
Effects of a Reset ..................................................... 376
Operation During Sleep ............................................ 376
Compare (CCP Module) ................................................... 252
CCP Pin Configuration.............................................. 252
CCPR4 Register ....................................................... 252
Software Interrupt ..................................................... 252
Special Event Trigger ............................................... 252
Timer1/3/5/7 Mode Selection.................................... 252
Compare (ECCP Module)................................................. 264
CCPRx Register ....................................................... 264
Pin Configuration ...................................................... 264
Software Interrupt ..................................................... 264
Special Event Trigger ....................................... 221, 264
Timer1/2/3/4/6/8/10/12 Mode Selection.................... 264
Computed GOTO................................................................ 91
Configuration Bits ............................................................. 403
Configuration Mismatch (CM) Reset................................... 76
Configuration Register Protection..................................... 429
 2009-2011 Microchip Technology Inc.