English
Language : 

PIC18F45K80-I Datasheet, PDF (606/622 Pages) Microchip Technology – 28/40/44/64-Pin, Enhanced Flash Microcontrollers with ECAN and nanoWatt XLP Technology
PIC18F66K80 FAMILY
BRG. See Baud Rate Generator.
Brown-out Reset (BOR) ...................................................... 82
Detection ..................................................................... 82
Disabling in Sleep Mode ............................................. 82
Software Enabled........................................................ 82
BSF ................................................................................... 495
BTFSC .............................................................................. 496
BTFSS............................................................................... 496
BTG................................................................................... 497
BZ...................................................................................... 498
C
C Compilers
MPLAB C18 .............................................................. 534
CALL ................................................................................. 498
CALLW.............................................................................. 527
CAN Module
External-Internal Clock in HS-PLL Based Oscillators447
Capture (CCP Module)...................................................... 257
CCP Pin Configuration .............................................. 257
CCPRxH:CCPRxL Registers .................................... 257
Software Interrupt ..................................................... 258
Timer1/3 Mode Selection .......................................... 257
Capture (ECCP Module) ................................................... 268
CCPR1H:CCPR1L Registers.................................... 268
ECCP Pin Configuration ........................................... 268
Prescaler ................................................................... 269
Software Interrupt ..................................................... 269
Timer1/2/3/4 Mode Selection .................................... 269
Capture, Compare, Timer1/3
Associated Registers ................................................ 261
Capture/Compare/PWM (CCP)......................................... 253
Capture Mode. See Capture.
CCP Mode and Timer Resources ............................. 256
CCPRxH Register ..................................................... 256
CCPRxL Register...................................................... 256
Compare Mode. See Compare.
Configuration............................................................. 256
Open-Drain Output Option ........................................ 256
Charge Time Measurement Unit (CTMU) ......................... 235
Associated Registers ................................................ 252
Calibrating the Module .............................................. 240
Creating a Delay ....................................................... 250
Effects of a Reset...................................................... 252
Measuring Capacitance ............................................ 246
Measuring Time ........................................................ 248
Module Initialization .................................................. 240
Operation .................................................................. 239
During Sleep, Idle Modes.................................. 252
Temperature Measurement ...................................... 249
Clock Sources ..................................................................... 56
Default System Clock on Reset .................................. 57
Selection Using OSCCON Register ............................ 56
CLRF................................................................................. 499
CLRWDT........................................................................... 499
Code Examples
16 x 16 Signed Multiply Routine ............................... 146
16 x 16 Unsigned Multiply Routine ........................... 146
8 x 8 Signed Multiply Routine ................................... 145
8 x 8 Unsigned Multiply Routine ............................... 145
Capacitance Calibration Routine .............................. 245
Changing Between Capture Prescalers ............ 258, 269
Changing to Configuration Mode .............................. 396
Computed GOTO Using an Offset Value .................. 105
Current Calibration Routine ...................................... 243
Data EEPROM Read ................................................ 142
DS39977F-page 606
Data EEPROM Refresh Routine............................... 143
Data EEPROM Write ................................................ 142
Erasing a Flash Program Memory Row.................... 134
Fast Register Stack .................................................. 105
How to Clear RAM (Bank 1) Using Indirect Addressing .
123
Initializing PORTA..................................................... 175
Initializing PORTB..................................................... 177
Initializing PORTC .................................................... 181
Initializing PORTD .................................................... 184
Initializing PORTE..................................................... 187
Initializing PORTF..................................................... 189
Initializing PORTG .................................................... 190
Loading the SSPBUF (SSPSR) Register.................. 290
Reading a CAN Message ......................................... 412
Reading a Flash Program Memory Word ................. 133
Routine for Capacitive Touch Switch........................ 247
Routine for Temperature Measurement Using Internal
Diode ........................................................ 249, 251
Saving STATUS, WREG and BSR Registers in RAM ....
169
Setup for CTMU Calibration Routines ...................... 242
Transmitting a CAN Message Using Banked Method ....
404
Transmitting a CAN Message Using WIN Bits.......... 405
Ultra Low-Power Wake-up Initialization ...................... 77
WIN and ICODE Bits Usage in Interrupt Service Routine
to Access TX/RX Buffers .................................. 396
Writing to Flash Program Memory .................... 136–137
Code Protection ................................................................ 457
COMF ............................................................................... 500
Comparator....................................................................... 373
Analog Input Connection Considerations ................. 376
Associated Registers ................................................ 380
Configuration ............................................................ 377
Control ...................................................................... 377
Effects of a Reset ..................................................... 380
Enable and Input Selection....................................... 377
Enable and Output Selection .................................... 377
Interrupts .................................................................. 379
Operation .................................................................. 376
Operation During Sleep ............................................ 380
Response Time......................................................... 376
Comparator Specifications................................................ 559
Comparator Voltage Reference ........................................ 381
Accuracy and Error ................................................... 382
Associated Registers ................................................ 383
Configuring ............................................................... 381
Connection Considerations....................................... 382
Effects of a Reset ..................................................... 382
Operation During Sleep ............................................ 382
Compare (CCP Module) ................................................... 259
CCP Pin Configuration.............................................. 259
Software Interrupt ..................................................... 259
Special Event Trigger ............................................... 259
Timer1/3 Mode Selection.......................................... 259
Compare (ECCP Module)................................................. 270
CCPR1 Register ....................................................... 270
Pin Configuration ...................................................... 270
Software Interrupt ..................................................... 270
Special Event Trigger ....................................... 232, 270
Timer1/2/3/4 Mode Selection.................................... 270
Computed GOTO.............................................................. 105
Configuration Bits ............................................................. 457
Configuration Mismatch (CM) Reset................................... 83
 2010-2012 Microchip Technology Inc.