English
Language : 

PIC16F87X Datasheet, PDF (203/218 Pages) Microchip Technology – 28/40-pin 8-Bit CMOS FLASH Microcontrollers
Master Mode Operation ............................................. 79
Master Mode START Condition ................................. 80
Master Mode Transmission ........................................ 82
Master Mode Transmit Sequence .............................. 79
Multi-Master Communication ..................................... 89
Multi-master Mode ..................................................... 78
Operation ................................................................... 73
Repeat START Condition Timing ............................... 81
Slave Mode ................................................................ 74
Block Diagram .................................................... 73
Slave Reception ......................................................... 74
Slave Transmission .................................................... 75
SSPBUF ..................................................................... 73
STOP Condition Receive or Transmit Timing ............ 87
STOP Condition Timing ............................................. 87
Waveforms for 7-bit Reception .................................. 75
Waveforms for 7-bit Transmission ............................. 76
I2C Module Address Register, SSPADD ............................ 73
I2C Slave Mode .................................................................. 74
ICEPIC In-Circuit Emulator .............................................. 144
ID Locations ............................................................. 119, 133
In-Circuit Serial Programming (ICSP) ...................... 119, 134
INDF ................................................................................... 17
INDF Register .........................................................15, 16, 27
Indirect Addressing ............................................................ 27
FSR Register ............................................................. 12
Instruction Format ............................................................ 135
Instruction Set .................................................................. 135
ADDLW .................................................................... 137
ADDWF .................................................................... 137
ANDLW .................................................................... 137
ANDWF .................................................................... 137
BCF .......................................................................... 137
BSF .......................................................................... 137
BTFSC ..................................................................... 137
BTFSS ..................................................................... 137
CALL ........................................................................ 138
CLRF ........................................................................ 138
CLRW ...................................................................... 138
CLRWDT .................................................................. 138
COMF ...................................................................... 138
DECF ....................................................................... 138
DECFSZ ................................................................... 139
GOTO ...................................................................... 139
INCF ......................................................................... 139
INCFSZ .................................................................... 139
IORLW ..................................................................... 139
IORWF ..................................................................... 139
MOVF ....................................................................... 140
MOVLW ................................................................... 140
MOVWF ................................................................... 140
NOP ......................................................................... 140
RETFIE .................................................................... 140
RETLW .................................................................... 140
RETURN .................................................................. 141
RLF .......................................................................... 141
RRF .......................................................................... 141
SLEEP ..................................................................... 141
SUBLW .................................................................... 141
SUBWF .................................................................... 141
SWAPF .................................................................... 142
XORLW .................................................................... 142
XORWF .................................................................... 142
Summary Table ........................................................ 136
PIC16F87X
INT Interrupt (RB0/INT). See Interrupt Sources
INTCON ............................................................................. 17
INTCON Register ............................................................... 20
GIE Bit ....................................................................... 20
INTE Bit ..................................................................... 20
INTF Bit ..................................................................... 20
PEIE Bit ..................................................................... 20
RBIE Bit ..................................................................... 20
RBIF Bit ................................................................20, 31
T0IE Bit ...................................................................... 20
T0IF Bit ...................................................................... 20
Inter-Integrated Circuit (I2C) .............................................. 65
Internal Sampling Switch (Rss) Impedence ..................... 114
Interrupt Sources ......................................................119, 129
Block Diagram ......................................................... 129
Interrupt-on-Change (RB7:RB4 ) ............................... 31
RB0/INT Pin, External ....................................... 7, 8, 130
TMR0 Overflow ........................................................ 130
USART Receive/Transmit Complete ......................... 95
Interrupts
Bus Collision Interrupt ................................................ 24
Synchronous Serial Port Interrupt .............................. 22
Interrupts, Context Saving During .................................... 130
Interrupts, Enable Bits
Global Interrupt Enable (GIE Bit) ........................20, 129
Interrupt-on-Change (RB7:RB4) Enable
(RBIE Bit) ................................................. 130
Interrupt-on-Change (RB7:RB4) Enable
(RBIE Bit) ................................................... 20
Peripheral Interrupt Enable (PEIE Bit) ....................... 20
RB0/INT Enable (INTE Bit) ........................................ 20
TMR0 Overflow Enable (T0IE Bit) ............................. 20
Interrupts, Flag Bits
Interrupt-on-Change (RB7:RB4) Flag
(RBIF Bit) ................................................. 130
Interrupt-on-Change (RB7:RB4) Flag
(RBIF Bit) ..............................................20, 31
RB0/INT Flag (INTF Bit) ............................................ 20
TMR0 Overflow Flag (T0IF Bit) ...........................20, 130
K
KEELOQ Evaluation and Programming Tools ................... 146
L
Loading of PC .................................................................... 26
M
Master Clear (MCLR) ........................................................7, 8
MCLR Reset, Normal Operation ............... 123, 125, 126
MCLR Reset, SLEEP ................................ 123, 125, 126
Memory Organization
Data Memory ............................................................. 12
Program Memory ....................................................... 11
MPLAB C17 and MPLAB C18 C Compilers .................... 143
MPLAB ICD In-Circuit Debugger ..................................... 145
MPLAB ICE High Performance Universal In-Circuit
Emulator with MPLAB IDE ............................................... 144
MPLAB Integrated Development Environment Software . 143
MPLINK Object Linker/MPLIB Object Librarian ............... 144
Multi-Master Communication ............................................. 89
Multi-Master Mode ............................................................. 78
 2001 Microchip Technology Inc.
DS30292C-page 201