Datasheet

Table Of Contents
© 2008 Microchip Technology Inc. DS41262E-page 297
PIC16F631/677/685/687/689/690
Baud Rate Error, Calculating ............................ 163
Baud Rates, Asynchronous Modes .................. 164
Formulas ........................................................... 163
High Baud Rate Select (BRGH Bit) .................. 163
Synchronous Master Mode ............................... 171, 175
Associated Registers
Receive..................................................... 174
Transmit.................................................... 172
Reception.......................................................... 173
Requirements, Synchronous Receive .............. 249
Requirements, Synchronous Transmission ...... 249
Timing Diagram, Synchronous Receive ........... 249
Timing Diagram, Synchronous Transmission ... 249
Transmission .................................................... 171
Synchronous Slave Mode
Associated Registers
Receive..................................................... 176
Transmit.................................................... 175
Reception.......................................................... 176
Transmission .................................................... 175
F
Fail-Safe Clock Monitor....................................................... 57
Fail-Safe Condition Clearing ....................................... 57
Fail-Safe Detection ..................................................... 57
Fail-Safe Operation..................................................... 57
Reset or Wake-up from Sleep..................................... 57
Firmware Instructions........................................................ 217
Flash Program Memory .................................................... 119
Fuses. See Configuration Bits
G
General Purpose Register File............................................ 26
I
I
2
C Mode
Addressing ................................................................ 189
Associated Registers ................................................ 196
Master Mode ............................................................. 195
Mode Selection ......................................................... 188
Multi-Master Mode .................................................... 195
Operation .................................................................. 188
Reception.................................................................. 190
Slave Mode
SCL and SDA pins............................................ 188
Transmission............................................................. 193
ID Locations ...................................................................... 215
In-Circuit Serial Programming (ICSP) ............................... 215
Indirect Addressing, INDF and FSR registers..................... 44
Instruction Format ............................................................. 217
Instruction Set ................................................................... 217
ADDLW ..................................................................... 219
ADDWF..................................................................... 219
ANDLW ..................................................................... 219
ANDWF..................................................................... 219
BCF........................................................................... 219
BSF........................................................................... 219
BTFSC ...................................................................... 219
BTFSS ...................................................................... 220
CALL......................................................................... 220
CLRF......................................................................... 220
CLRW ....................................................................... 220
CLRWDT................................................................... 220
COMF ....................................................................... 220
DECF ........................................................................ 220
DECFSZ.................................................................... 221
GOTO ....................................................................... 221
INCF ......................................................................... 221
INCFSZ..................................................................... 221
IORLW...................................................................... 221
IORWF...................................................................... 221
MOVF ....................................................................... 222
MOVLW .................................................................... 222
MOVWF.................................................................... 222
NOP.......................................................................... 222
RETFIE..................................................................... 223
RETLW ..................................................................... 223
RETURN................................................................... 223
RLF........................................................................... 224
RRF .......................................................................... 224
SLEEP...................................................................... 224
SUBLW..................................................................... 224
SUBWF..................................................................... 225
SWAPF..................................................................... 225
XORLW .................................................................... 225
XORWF .................................................................... 225
Summary Table ........................................................ 218
INTCON Register................................................................ 38
Inter-Integrated Circuit (I
2
C). See I
2
C Mode
Internal Oscillator Block
INTOSC
Specifications ................................................... 242
Internal Sampling Switch (R
SS) Impedance ..................... 116
Internet Address ............................................................... 301
Interrupts .......................................................................... 208
ADC .......................................................................... 111
Associated Registers ................................................ 210
Context Saving ......................................................... 211
Interrupt-on-Change ................................................... 60
Interrupt-on-change .................................................... 69
PORTA/PORTB Interrupt-on-Change ...................... 209
RA2/INT.................................................................... 208
Timer0 ...................................................................... 209
TMR1.......................................................................... 86
INTOSC Specifications ..................................................... 242
IOCA Register..................................................................... 62
IOCB Register..................................................................... 70
L
Load Conditions................................................................ 240
M
MCLR ............................................................................... 201
Internal...................................................................... 201
Memory Organization ......................................................... 25
Data ............................................................................ 26
Program...................................................................... 25
Microchip Internet Web Site.............................................. 301
Migrating from other PICmicro Devices ............................ 293
MPLAB ASM30 Assembler, Linker, Librarian ................... 228
MPLAB ICD 2 In-Circuit Debugger ................................... 229
MPLAB ICE 2000 High-Performance Universal
In-Circuit Emulator.................................................... 229
MPLAB Integrated Development Environment Software.. 227
MPLAB PM3 Device Programmer .................................... 229
MPLAB REAL ICE In-Circuit Emulator System ................ 229
MPLINK Object Linker/MPLIB Object Librarian ................ 228
O
OPCODE Field Descriptions............................................. 217
OPTION Register.......................................................... 37, 83
OSCCON Register.............................................................. 48