16F876 Microchip Technology, 16F876 Datasheet - Page 186

no-image

16F876

Manufacturer Part Number
16F876
Description
28/40-pin 8-Bit CMOS FLASH Microcontrollers
Manufacturer
Microchip Technology
Datasheet
PIC16F87X
Development Support ...................................................... 145
Device Differences ........................................................... 183
Device Overview .................................................................. 5
Direct Addressing ......................................................... 27, 28
E
Electrical Characteristics .................................................. 151
Errata ................................................................................... 4
F
Firmware Instructions ....................................................... 137
FSR Register .................................................... 15, 16, 17, 27
G
General Call Address Sequence ........................................ 74
General Call Address Support ........................................... 74
General Call Enable bit ...................................................... 66
I
I/O Ports ............................................................................. 29
I
I
I
I
I
DS30292B-page 186
2
2
2
2
2
C ...................................................................................... 71
C Master Mode Reception ............................................... 83
C Master Mode Restart Condition ................................... 80
C Mode Selection ............................................................ 71
C Module
Acknowledge Sequence timing .................................. 85
Addressing ................................................................. 72
Baud Rate Generator ................................................. 78
Block Diagram ............................................................ 76
BRG Block Diagram ................................................... 78
BRG Reset due to SDA Collision ............................... 90
BRG Timing ............................................................... 78
Bus Arbitration ........................................................... 88
Bus Collision .............................................................. 88
Bus Collision timing .................................................... 88
Clock Arbitration ......................................................... 87
Clock Arbitration Timing (Master Transmit) ................ 87
Conditions to not give ACK Pulse .............................. 72
General Call Address Support ................................... 74
Master Mode .............................................................. 76
Master Mode 7-bit Reception timing .......................... 84
Master Mode Operation ............................................. 77
Master Mode Start Condition ..................................... 79
Master Mode Transmission ........................................ 81
Master Mode Transmit Sequence .............................. 77
Multi-Master Communication ..................................... 88
Multi-master Mode ..................................................... 77
Operation ................................................................... 71
Repeat Start Condition timing .................................... 80
Slave Mode ................................................................ 72
Slave Reception ......................................................... 73
Slave Transmission .................................................... 73
SSPBUF ..................................................................... 72
Stop Condition Receive or Transmit timing ................ 86
Stop Condition timing ................................................. 86
Waveforms for 7-bit Reception .................................. 73
Waveforms for 7-bit Transmission ............................. 74
Acknowledge ...................................................... 88
Restart Condition ............................................... 91
Restart Condition Timing (Case1) ...................... 91
Restart Condition Timing (Case2) ...................... 91
Start Condition ................................................... 89
Start Condition Timing ................................. 89, 90
Stop Condition ................................................... 92
Stop Condition Timing (Case1) .......................... 92
Stop Condition Timing (Case2) .......................... 92
Transmit Timing ................................................. 88
I
I
ID Locations ............................................................. 121, 135
In-Circuit Serial Programming (ICSP) ...................... 121, 136
INDF .................................................................................. 17
INDF Register ........................................................ 15, 16, 27
Indirect Addressing ...................................................... 27, 28
Instruction Format ............................................................ 137
Instruction Set .................................................................. 137
INTCON ............................................................................. 17
INTCON Register ............................................................... 20
Inter-Integrated Circuit (I
Internal Sampling Switch (Rss) Impedence ..................... 114
Interrupt Sources ..................................................... 121, 131
2
2
C Module Address Register, SSPADD ........................... 72
C Slave Mode .................................................................. 72
FSR Register ............................................................. 12
ADDLW .................................................................... 139
ADDWF .................................................................... 139
ANDLW .................................................................... 139
ANDWF .................................................................... 139
BCF ......................................................................... 139
BSF .......................................................................... 139
BTFSC ..................................................................... 140
BTFSS ..................................................................... 140
CALL ........................................................................ 140
CLRF ....................................................................... 140
CLRW ...................................................................... 140
CLRWDT ................................................................. 140
COMF ...................................................................... 141
DECF ....................................................................... 141
DECFSZ .................................................................. 141
GOTO ...................................................................... 141
INCF ........................................................................ 141
INCFSZ .................................................................... 141
IORLW ..................................................................... 142
IORWF ..................................................................... 142
MOVF ...................................................................... 142
MOVLW ................................................................... 142
MOVWF ................................................................... 142
NOP ......................................................................... 142
RETFIE .................................................................... 143
RETLW .................................................................... 143
RETURN .................................................................. 143
RLF .......................................................................... 143
RRF ......................................................................... 143
SLEEP ..................................................................... 143
SUBLW .................................................................... 144
SUBWF .................................................................... 144
SWAPF .................................................................... 144
XORLW ................................................................... 144
XORWF ................................................................... 144
Summary Table ....................................................... 138
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
Block Diagram ......................................................... 131
Interrupt on Change (RB7:RB4 ) ............................... 31
RB0/INT Pin, External ...................................... 7, 8, 132
TMR0 Overflow ........................................................ 132
USART Receive/Transmit Complete ......................... 95
2
C) .............................................. 63
1999 Microchip Technology Inc.

Related parts for 16F876