English
Language : 

PIC18F25K20T-ISS Datasheet, PDF (444/456 Pages) Microchip Technology – 28/40/44-Pin Flash Microcontrollers with nanoWatt XLP Technology
PIC18F2XK20/4XK20
Detecting .................................................................... 54
Disabling in Sleep Mode ............................................ 54
Minimun Enable Time ................................................ 54
Software Enabled ....................................................... 54
BSF .................................................................................. 327
BTFSC ............................................................................. 328
BTFSS .............................................................................. 328
BTG .................................................................................. 329
BZ ..................................................................................... 330
C
C Compilers
MPLAB C18 ............................................................. 366
CALL ................................................................................ 330
CALLW ............................................................................. 359
Capture (CCP Module) ..................................................... 145
Associated Registers ............................................... 148
CCP Pin Configuration ............................................. 145
CCPRxH:CCPRxL Registers ................................... 145
Prescaler .................................................................. 145
Software Interrupt .................................................... 145
Timer1/Timer3 Mode Selection ................................ 145
Capture (ECCP Module) .................................................. 174
Capture/Compare/PWM (CCP) ........................................ 143
Capture Mode. See Capture.
CCP Mode and Timer Resources ............................ 144
CCPRxH Register .................................................... 144
CCPRxL Register ..................................................... 144
Compare Mode. See Compare.
Interaction of Two CCP Modules ............................. 144
Module Configuration ............................................... 144
PWM Mode .............................................................. 149
Duty Cycle ........................................................ 150
Effects of Reset ................................................ 152
Example PWM Frequencies & Resolutions
Fosc=20 MHZ .......................................... 151
Fosc=40 MHZ .......................................... 151
Fosc=8 MHZ ............................................ 151
Operation in Sleep Mode ................................. 152
Setup for Operation .......................................... 152
System Clock Frequency Changes .................. 152
PWM Period ............................................................. 150
Setup for PWM Operation ........................................ 152
CCP1CON Register ......................................................... 173
CCP2CON Register ......................................................... 143
Clock Accuracy with Asynchronous Operation ................ 246
Clock Sources
Associated registers ................................................... 41
External Modes .......................................................... 30
EC ...................................................................... 30
HS ...................................................................... 31
LP ....................................................................... 31
OST .................................................................... 30
RC ...................................................................... 32
XT ...................................................................... 31
Internal Modes ........................................................... 32
Frequency Selection .......................................... 34
HFINTOSC ......................................................... 32
INTOSC ............................................................. 32
INTOSCIO .......................................................... 32
LFINTOSC ......................................................... 34
Selecting the 31 kHz Source ...................................... 28
Selection Using OSCCON Register ........................... 28
Clock Switching .................................................................. 37
CLRF ................................................................................ 331
CLRWDT .......................................................................... 331
DS41303G-page 444
CM1CON0 Register ......................................................... 284
CM2CON0 Register ......................................................... 285
CM2CON1 Register ......................................................... 287
Code Examples
16 x 16 Signed Multiply Routine .............................. 106
16 x 16 Unsigned Multiply Routine .......................... 106
8 x 8 Signed Multiply Routine .................................. 105
8 x 8 Unsigned Multiply Routine .............................. 105
A/D Conversion ........................................................ 270
Changing Between Capture Prescalers ................... 145
Clearing RAM Using Indirect Addressing .................. 83
Computed GOTO Using an Offset Value ................... 68
Data EEPROM Read ............................................... 101
Data EEPROM Refresh Routine .............................. 102
Data EEPROM Write ............................................... 101
Erasing a Flash Program Memory Row ..................... 94
Fast Register Stack ................................................... 68
Implementing a Timer1 Real-Time Clock ................ 164
Initializing PORTA .................................................... 121
Initializing PORTB .................................................... 124
Initializing PORTC ................................................... 127
Initializing PORTD ................................................... 130
Initializing PORTE .................................................... 133
Loading the SSPBUF (SSPSR) Register ................. 196
Reading a Flash Program Memory Word .................. 93
Saving Status, WREG and BSR Registers
in RAM ............................................................. 119
Writing to Flash Program Memory ....................... 96–97
Code Protection ............................................................... 299
COMF .............................................................................. 332
Comparator
Associated Registers ............................................... 288
Operation ................................................................. 279
Operation During Sleep ........................................... 283
Response Time ........................................................ 281
Comparator Module ......................................................... 279
C1 Output State Versus Input Conditions ................ 281
Comparator Specifications ............................................... 381
Comparator Voltage Reference (CVREF)
Associated Registers ............................................... 292
Effects of a Reset ............................................ 283, 289
Operation During Sleep ........................................... 289
Overview .................................................................. 289
Comparator Voltage Reference (CVREF)
Response Time ........................................................ 281
Comparators
Effects of a Reset .................................................... 283
Compare (CCP Module) .................................................. 147
Associated Registers ............................................... 148
CCPRx Register ...................................................... 147
Pin Configuration ..................................................... 147
Software Interrupt .................................................... 147
Special Event Trigger ...................................... 147, 172
Timer1/Timer3 Mode Selection ................................ 147
Compare (ECCP Module) ................................................ 174
Special Event Trigger .............................................. 174
Computed GOTO ............................................................... 68
CONFIG1H Register ........................................................ 301
CONFIG2H Register ........................................................ 302
CONFIG2L Register ........................................................ 302
CONFIG3H Register ........................................................ 303
CONFIG4L Register ........................................................ 303
CONFIG5H Register ........................................................ 304
CONFIG5L Register ........................................................ 304
CONFIG6H Register ........................................................ 305
 2010 Microchip Technology Inc.