English
Language : 

PIC18F87K90 Datasheet, PDF (558/566 Pages) Microchip Technology – 64/80-Pin, High-Performance Microcontrollers with LCD Driver and nanoWatt XLP Technology
PIC18F87K90 FAMILY
Idle Modes .................................................................. 56
PRI_IDLE ............................................................ 57
RC_IDLE............................................................. 58
SEC_IDLE........................................................... 57
Multiple Sleep Commands .......................................... 52
Run Modes.................................................................. 52
PRI_RUN ............................................................ 52
RC_RUN ............................................................. 53
SEC_RUN........................................................... 52
Selecting ..................................................................... 51
Sleep Mode ................................................................. 56
OSC1 and OSC2 Pin States ............................... 50
Summary (table) ......................................................... 51
Power-on Reset (POR) ....................................................... 69
Power-up Delays................................................................. 50
Power-up Timer (PWRT)............................................... 50, 70
Time-out Sequence..................................................... 70
Prescaler, Timer0.............................................................. 183
Prescaler, Timer2.............................................................. 246
PRI_IDLE Mode .................................................................. 57
PRI_RUN Mode .................................................................. 52
Program Counter (PC) ........................................................ 85
PCL, PCH and PCU Registers.................................... 85
PCLATH and PCLATU Registers ............................... 85
Program Memory
Extended Instruction Set ........................................... 104
Hard Memory Vectors ................................................. 84
Instructions.................................................................. 89
Two-Word ........................................................... 89
Interrupt Vector ........................................................... 84
Look-up Tables ........................................................... 87
Memory Maps ............................................................. 83
Hard Vectors and Configuration Words .............. 84
Reset Vector ............................................................... 84
Program Verification.......................................................... 445
Programming, Device Instructions .................................... 449
Pulse Steering................................................................... 266
Pulse-Width Modulation. See PWM (CCP Module).
PUSH ................................................................................ 478
PUSH and POP Instructions ............................................... 86
PUSHL .............................................................................. 494
PWM (CCP Module)
Associated Registers ................................................ 247
Duty Cycle................................................................. 246
Example Frequencies/Resolutions ........................... 246
Period........................................................................ 246
Setup for PWM Operation ......................................... 247
TMR2 to PR2 Match ................................................. 246
TMR2 to PR2 Match Flag (TMR2IF Bit) .................... 136
TMRx to PRx Match .................................................. 211
PWM (ECCP Module)
Effects of a Reset...................................................... 269
Operation in Power-Managed Modes ....................... 269
Operation with Fail-Safe Clock Monitor .................... 269
Pulse Steering........................................................... 266
Steering Synchronization .......................................... 268
PWM Mode. See Enhanced Capture/Compare/PWM ...... 255
Q
Q Clock ............................................................................. 246
R
RAM. See Data Memory.
RC Oscillator ....................................................................... 45
RC_IDLE Mode ................................................................... 58
RC_RUN Mode ................................................................... 53
RCALL .............................................................................. 479
RCON Register
Bit Status During Initialization ..................................... 72
Reader Response............................................................. 563
Real-Time Clock and Calendar (RTCC) ........................... 215
Alarm ........................................................................ 230
Configuring ....................................................... 230
Interrupt ............................................................ 231
Mask Settings ................................................... 231
Alarm Value Registers (ALRMVAL).......................... 224
Clock Source ............................................................ 228
Control Registers ...................................................... 217
Digit Carry Rules....................................................... 228
Operation .................................................................. 227
Calibration ........................................................ 230
General Functionality........................................ 229
Leap Year ......................................................... 229
Register Mapping ............................................. 229
Register Reads/Writes, Safety Window............ 229
Write Lock......................................................... 229
Register Interface ..................................................... 227
Register Maps........................................................... 233
Registers .................................................................. 216
Reset ........................................................................ 232
Device............................................................... 232
Power-on Reset (POR)..................................... 232
RTCEN Bit Write....................................................... 227
Sleep Mode .............................................................. 232
Value Registers (RTCVAL)....................................... 220
Register File........................................................................ 92
Register File Summary ............................................... 95–100
Registers
ADCON0 (A/D Control 0).......................................... 372
ADCON1 (A/D Control 1).......................................... 373
ADCON2 (A/D Control 2).......................................... 374
ADRESH (A/D Result High Byte Left Justified,
ADFM = 0) ........................................................ 375
ADRESH (A/D Result High Byte Right Justified,
ADFM = 1) ........................................................ 376
ADRESL (A/D Result Low Byte Left Justified,
ADFM = 0) ........................................................ 376
ADRESL (A/D Result Low Byte Right Justified,
ADFM = 1) ........................................................ 376
ALRMCFG (Alarm Configuration) ............................. 219
ALRMDAY (Alarm Day Value) .................................. 224
ALRMHR (Alarm Hours Value) ................................. 225
ALRMMIN (Alarm Minutes Value)............................. 226
ALRMMNTH (Alarm Month Value) ........................... 224
ALRMRPT (Alarm Repeat) ....................................... 220
ALRMSEC (Alarm Seconds Value) .......................... 226
ALRMWD (Alarm Weekday Value)........................... 225
ANCON0 (A/D Port Configuration 0) ........................ 377
ANCON1 (A/D Port Configuration 1) ........................ 377
ANCON2 (A/D Port Configuration 2) ........................ 378
BAUDCONx (Baud Rate Control) ............................. 350
CCPRxH (CCPx Period High Byte) .......................... 238
CCPRxL (CCPx Period Low Byte)............................ 238
CCPTMRS0 (CCP Timer Select 0)........................... 251
CCPTMRS1 (CCPx Timer Select 1) ......................... 236
CCPTMRS2 (CCPx Timer Select 2) ......................... 237
CCPxCON (CCPx Control, CCP4-CCP10)............... 235
CCPxCON (Enhanced Capture/Compare/PWM x
Control)............................................................. 250
CMSTAT (Comparator Status) ................................. 389
CMxCON (Comparator Control x)............................. 388
DS39957B-page 558
Preliminary
 2010 Microchip Technology Inc.