© 2007 Microchip Technology Inc. DS41202F-page 183
PIC16F684
MOVF........................................................................120
MOVLW ....................................................................120
MOVWF....................................................................120
NOP..........................................................................120
RETFIE.....................................................................121
RETLW .....................................................................121
RETURN...................................................................121
RLF...........................................................................122
RRF...........................................................................122
SLEEP ......................................................................122
SUBLW.....................................................................122
SUBWF.....................................................................123
SWAPF.....................................................................123
XORLW.....................................................................123
XORWF.....................................................................123
Summary Ta b l e..... ..................... ........................... ....116
INTCON Register................................................................15
Internal Oscillator Block
INTOSC
Specifications............................................140, 141
Internal Sampling Switch (RSS) Impedance........................72
Inter n e t Ad d ress............ ........................... .........................187
Interrupts...........................................................................106
ADC ............................................................................68
Associ a te d Re g i sters................... ........................... ..108
Comparator.................................................................59
Context Saving..........................................................109
Data EEPROM Mem o ry Write ..................... ...............76
Interrupt-on-Change....................................................32
PORTA Interrupt-on-C hange ....................................107
RA2/INT....................................................................106
Timer0.......................................................................107
TMR1..........................................................................49
INTOSC Specifications ........... .... ........... .... ...... .... .....140, 141
IOCA Register............................. ............................ ............33
L
Load Conditions............................ .. ....... .. .. .. .. .. .. ....... .. .. .. ..138
M
MCLR................................................................................100
Internal......................................................................100
Memory Organization............................................................7
Data ..............................................................................7
Data EEPROM Mem o ry...... ..................... ...................75
Program........................................................................7
Microc h i p In ternet Web Site............................... ...............187
Migra tin g from other PICmicro Devices ...................... ......179
MPLAB ASM30 Assembler, Linker, Librarian ...................126
MPLAB ICD 2 In-Circuit Debugger ...................................127
MPLAB ICE 2000 High-Perform ance Universal
In-Circuit Emulator....................................................127
MPLAB Integrated Development Environment Software..125
MPLAB PM3 Device Programmer ....................................127
MPLAB REA L IC E In -Circuit Em u l a to r System.................127
MPLINK Object Linker/MPLIB Object Libraria n................126
O
OPCODE Fiel d Descri p tions........... ............... ...................115
OPTION Register..........................................................14, 45
OSCCON Register..............................................................20
Oscillator
Associ a te d registers................ ............................ ..30, 51
Oscillator Module ................................................................19
EC...............................................................................19
HFINTOSC..................................................................19
HS............................................................................... 19
INTOSC...................................................................... 19
INTOSCIO.................................................................. 19
LFINTOSC.................................................................. 19
LP............................................................................... 19
RC .............................................................................. 19
RCIO........................................................................... 19
XT............................................................................... 19
Oscillato r Parameters....... ................................ ................ 140
Oscillato r S pecifications.... ............... ........ ......................... 139
Oscillator Start-up Timer (OST)
Specifications ........................................................... 143
Oscillator Switching
Fail-Safe Clock Monitor.............................................. 29
Two-Spe ed Clock Start-up ....................... .................. 27
OSCTUNE Regis te r.............. ..................... ..................... .... 24
P
P1A/P1B/P1C/P1D.See Enhanced Capture/
Compare/PWM (ECCP).............................................. 85
Packaging......................................................................... 173
Marking..................................................................... 173
PDIP Details............................................................. 174
PCL and PCLATH............................................................... 19
Stack........................................................................... 19
PCON Register........................................................... 18, 102
PICSTART Plus Development Programmer..................... 128
PIE1 Register ..................................................................... 16
Pin Diagram
PDIP, SOIC, TSSOP.... ............................ .................... 2
QFN.............................................................................. 3
Pinout Descriptions
PIC16F684 ................................................................... 6
PIR1 Register ..................................................................... 17
PORTA ............................................................................... 31
Additional Pin Functions............................................. 32
ANSEL Register................................................. 32
Interrupt-on-Change........................................... 32
Ultra Low-Power Wake-Up........................... 32, 34
Weak Pull-up...................................................... 32
Associ a te d registers................ ..................... .............. 39
Pin Descriptions and Diagrams .................................. 35
RA0............................................................................. 35
RA1............................................................................. 35
RA2............................................................................. 36
RA3............................................................................. 37
RA4............................................................................. 37
RA5............................................................................. 38
Specifications ........................................................... 141
PORTA Register................................................................. 31
PORTC............................................................................... 40
Associ a te d registers.......... ........................... .............. 42
P1A/P1B/P1C/P1D.See Enhanced Capture/
Compare/PWM (ECCP)...................................... 40
Specifications ........................................................... 141
PORTC Register................................................................. 40
Power-Down Mode (Sleep)............................................... 112
Power-on Reset (POR)..................................................... 100
Power-up Timer (PWRT).................................................. 100
Specifications ........................................................... 143
Precisio n In ternal Osci lla to r Pa rameters...................... .... 141
Prescaler
Shared WDT/Timer0....... ..................... ..................... .. 44
Switching Prescaler Assignment................................ 44
Program Memory.................................................................. 7
Map and Stack .............................................................. 7