PIC18F-LF1XK50 MICROCHIP [Microchip Technology], PIC18F-LF1XK50 Datasheet - Page 408

no-image

PIC18F-LF1XK50

Manufacturer Part Number
PIC18F-LF1XK50
Description
20-Pin USB Flash Microcontrollers
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
PIC18F/LF1XK50
C
C Compilers
CALL ................................................................................ 324
CALLW ............................................................................. 353
Capture (CCP Module) ..................................................... 119
Capture/Compare/PWM (CCP)
CCP1CON Register ......................................................... 117
Clock Accuracy with Asynchronous Operation ................ 190
Clock Sources
CLRF ................................................................................ 325
CLRWDT .......................................................................... 325
CM1CON0 Register ......................................................... 229
CM2CON0 Register ......................................................... 230
CM2CON1 Register ......................................................... 233
Code Examples
Code Protection ............................................................... 291
COMF ............................................................................... 326
Comparator
Comparator Module ......................................................... 223
Comparator Specifications ............................................... 389
Comparator Voltage Reference (CV
DS41350E-page 408
MPLAB C18 ............................................................. 360
CCP Pin Configuration ............................................. 119
CCPRxH:CCPRxL Registers ................................... 119
Prescaler .................................................................. 119
Software Interrupt .................................................... 119
Timer1/Timer3 Mode Selection ................................ 119
Capture Mode. See Capture.
CCP Mode and Timer Resources ............................ 118
Compare Mode. See Compare.
Associated registers ................................................... 27
External Modes
16 x 16 Signed Multiply Routine ................................ 66
16 x 16 Unsigned Multiply Routine ............................ 66
8 x 8 Signed Multiply Routine .................................... 65
8 x 8 Unsigned Multiply Routine ................................ 65
A/D Conversion ........................................................ 214
Changing Between Capture Prescalers ................... 119
Clearing RAM Using Indirect Addressing ................... 46
Computed GOTO Using an Offset Value ................... 32
Data EEPROM Read ................................................. 63
Data EEPROM Refresh Routine ................................ 64
Data EEPROM Write ................................................. 63
Erasing a Flash Program Memory Row ..................... 56
Fast Register Stack .................................................... 32
Implementing a Timer1 Real-Time Clock ................. 109
Initializing PORTA ...................................................... 84
Initializing PORTB ...................................................... 89
Initializing PORTC ...................................................... 94
Loading the SSPBUF (SSPSR) Register ................. 142
Reading a Flash Program Memory Word .................. 55
Saving Status, WREG and BSR Registers in RAM ... 80
Writing to Flash Program Memory ....................... 58–59
Associated Registers ............................................... 234
Operation ................................................................. 223
Operation During Sleep ........................................... 228
Response Time ........................................................ 226
C1 Output State Versus Input Conditions ................ 226
Associated Registers ............................................... 249
Effects of a Reset ............................................. 228, 245
Operation During Sleep ........................................... 245
Overview .................................................................. 245
HS ...................................................................... 17
LP ....................................................................... 17
XT ...................................................................... 17
REF
)
Preliminary
Comparator Voltage Reference (CV
Comparators
Compare (CCP Module) .................................................. 120
Computed GOTO ............................................................... 32
CONFIG1H Register ................................................ 293, 294
CONFIG1L Register ........................................................ 293
CONFIG2H Register ........................................................ 296
CONFIG2L Register ........................................................ 295
CONFIG3H Register ........................................................ 297
CONFIG4L Register ........................................................ 297
CONFIG5H Register ........................................................ 298
CONFIG5L Register ........................................................ 298
CONFIG6H Register ........................................................ 299
CONFIG6L Register ........................................................ 299
CONFIG7H Register ........................................................ 300
CONFIG7L Register ........................................................ 300
Configuration Bits ............................................................ 292
Configuration Register Protection .................................... 307
Context Saving During Interrupts ....................................... 80
CPFSEQ .......................................................................... 326
CPFSGT .......................................................................... 327
CPFSLT ........................................................................... 327
Customer Change Notification Service ............................ 417
Customer Notification Service ......................................... 417
Customer Support ............................................................ 417
CV
D
Data Addressing Modes .................................................... 46
Data EEPROM
Data EEPROM Memory ..................................................... 61
Data Memory ..................................................................... 35
DAW ................................................................................ 328
DC and AC Characteristics
REF
Response Time ........................................................ 226
Effects of a Reset .................................................... 228
CCPRx Register ...................................................... 120
Pin Configuration ..................................................... 120
Software Interrupt .................................................... 120
Special Event Trigger ...................................... 116, 120
Timer1/Timer3 Mode Selection ................................ 120
Comparing Addressing Modes with the Extended In-
Direct ......................................................................... 46
Indexed Literal Offset ................................................ 48
Indirect ....................................................................... 46
Inherent and Literal .................................................... 46
Code Protection ....................................................... 307
Associated Registers ................................................. 64
EEADR Register ........................................................ 61
EECON1 and EECON2 Registers ............................. 61
Operation During Code-Protect ................................. 64
Protection Against Spurious Write ............................. 64
Reading ..................................................................... 63
Using ......................................................................... 64
Write Verify ................................................................ 63
Writing ....................................................................... 63
Access Bank .............................................................. 39
and the Extended Instruction Set .............................. 48
Bank Select Register (BSR) ...................................... 35
General Purpose Registers ....................................... 39
Map for PIC18F13K50/PIC18LF13K50 ..................... 36
Map for PIC18F14K50/PIC18LF14K50 ..................... 37
Special Function Registers ........................................ 39
USB RAM .................................................................. 35
Voltage Reference Specifications ........................ 389
struction Set Enabled ........................................ 49
Instructions Affected .......................................... 48
 2010 Microchip Technology Inc.
REF
)

Related parts for PIC18F-LF1XK50