English
Language : 

PIC16F688 Datasheet, PDF (168/174 Pages) Microchip Technology – 14-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F688
D
Data EEPROM Memory ...................................................... 71
Associated Registers .................................................. 75
Reading....................................................................... 73
Writing ......................................................................... 73
Data Memory......................................................................... 7
DC Characteristics
Extended and Industrial ............................................ 142
Industrial and Extended ............................................ 137
Demonstration Boards
PICDEM 1 ................................................................. 132
PICDEM 17 ............................................................... 133
PICDEM 18R ............................................................ 133
PICDEM 2 Plus ......................................................... 132
PICDEM 3 ................................................................. 132
PICDEM 4 ................................................................. 132
PICDEM LIN ............................................................. 133
PICDEM USB............................................................ 133
PICDEM.net Internet/Ethernet .................................. 132
Development Support ....................................................... 129
Device Overview ................................................................... 5
E
EEADR Register ................................................................. 72
EEADR Registers................................................................ 71
EEADRH Registers ............................................................. 71
EECON1 Register ......................................................... 71, 72
EECON2 Register ............................................................... 71
EEDAT Register.................................................................. 72
Electrical Specifications .................................................... 135
Enhanced Universal Synchronous Asynchronous
Receiver Transmitter (EUSART)................................ 77
Errata .................................................................................... 3
Evaluation and Programming Tools .................................. 133
F
Fail-Safe Clock Monitor....................................................... 28
Fail-Safe Mode............................................................ 29
Reset and Wake-up from Sleep .................................. 29
Firmware Instructions........................................................ 119
Flash Program Memory....................................................... 71
Fuses. See Configuration Bits
G
General Purpose Register File.............................................. 7
I
I/O Ports .............................................................................. 31
ID Locations ...................................................................... 117
In-Circuit Debugger ........................................................... 118
In-Circuit Serial Programming (ICSP) ............................... 117
Indirect Addressing, INDF and FSR Registers.................... 20
Instruction Format ............................................................. 119
Instruction Set ................................................................... 119
ADDLW ..................................................................... 121
ADDWF ..................................................................... 121
ANDLW ..................................................................... 121
ANDWF ..................................................................... 121
BCF ........................................................................... 121
BSF ........................................................................... 121
BTFSC ...................................................................... 122
BTFSS ...................................................................... 121
CALL ......................................................................... 122
CLRF......................................................................... 122
CLRW ....................................................................... 122
CLRWDT .................................................................. 122
COMF ....................................................................... 122
DECF ........................................................................ 122
DECFSZ ................................................................... 123
GOTO ....................................................................... 123
INCF ......................................................................... 123
INCFSZ..................................................................... 123
IORLW ...................................................................... 124
IORWF...................................................................... 124
MOVF ....................................................................... 123
MOVLW .................................................................... 124
MOVWF .................................................................... 124
NOP .......................................................................... 124
RETFIE ..................................................................... 125
RETLW ..................................................................... 125
RETURN................................................................... 125
RLF ........................................................................... 126
RRF .......................................................................... 126
SLEEP ...................................................................... 126
SUBLW ..................................................................... 126
SUBWF..................................................................... 126
SWAPF ..................................................................... 127
XORLW .................................................................... 127
XORWF .................................................................... 127
Summary Table ........................................................ 120
INTCON Register................................................................ 15
Internal Oscillator Block
INTOSC
Specifications ................................................... 146
Internal Sampling Switch (Rss) Impedance........................ 68
Interrupts........................................................................... 109
A/D.............................................................................. 67
Associated Registers ................................................ 111
Comparators ............................................................... 58
Context Saving ......................................................... 112
Interrupt-on-Change ................................................... 33
PORTA Interrupt-on-Change .................................... 110
RA2/INT .................................................................... 110
TMR0 ........................................................................ 110
TMR1 .......................................................................... 50
INTOSC Specifications ..................................................... 146
IOCA Register..................................................................... 33
L
Load Conditions................................................................ 144
M
MCLR................................................................................ 103
Internal...................................................................... 103
Memory Organization ........................................................... 7
Data .............................................................................. 7
Program ........................................................................ 7
Migrating from other PICmicro Devices ............................ 163
MPLAB ASM30 Assembler, Linker, Librarian ................... 130
MPLAB ICD 2 In-Circuit Debugger ................................... 131
MPLAB ICE 2000 High-Performance Universal
In-Circuit Emulator ................................................... 131
MPLAB ICE 4000 High-Performance Universal
In-Circuit Emulator ................................................... 131
MPLAB Integrated Development Environment
Software .................................................................. 129
MPLAB PM3 Device Programmer .................................... 131
MPLINK Object Linker/MPLIB Object Librarian ................ 130
DS41203B-page 166
Preliminary
 2004 Microchip Technology Inc.