16F876 Microchip Technology, 16F876 Datasheet - Page 187

no-image

16F876

Manufacturer Part Number
16F876
Description
28/40-pin 8-Bit CMOS FLASH Microcontrollers
Manufacturer
Microchip Technology
Datasheet
Interrupts
Interrupts, Context Saving During .................................... 132
Interrupts, Enable Bits
Interrupts, Flag Bits
K
KeeLoq
L
Loading of PC .................................................................... 26
M
Master Clear (MCLR) ....................................................... 7, 8
Memory Organization
MPLAB Integrated Development Environment Software . 145
Multi-Master Communication ............................................. 88
Multi-Master Mode ............................................................. 77
O
OPCODE Field Descriptions ............................................ 137
OPTION ............................................................................. 17
OPTION_REG Register ..................................................... 19
OSC1/CLKIN Pin ............................................................. 7, 8
OSC2/CLKOUT Pin ......................................................... 7, 8
Oscillator Configuration ............................................ 121, 123
Oscillator, WDT ................................................................ 133
Output of TMR2 ................................................................. 55
P
P ......................................................................................... 64
Packaging ........................................................................ 175
Paging, Program Memory ............................................ 11, 26
Parallel Slave Port (PSP) ......................................... 9, 35, 38
PCL Register .................................................... 15, 16, 17, 26
1999 Microchip Technology Inc.
Bus Collision Interrupt ................................................ 24
Synchronous Serial Port Interrupt .............................. 22
Global Interrupt Enable (GIE Bit) ....................... 20, 131
Interrupt on Change (RB7:RB4) Enable
Peripheral Interrupt Enable (PEIE Bit) ....................... 20
RB0/INT Enable (INTE Bit) ........................................ 20
TMR0 Overflow Enable (T0IE Bit) .............................. 20
Interrupt on Change (RB7:RB4) Flag
(RBIF Bit) ..................................................... 20, 31, 132
RB0/INT Flag (INTF Bit) ............................................. 20
TMR0 Overflow Flag (T0IF Bit) .......................... 20, 132
MCLR Reset, Normal Operation .............. 125, 127, 128
MCLR Reset, SLEEP ............................... 125, 127, 128
Data Memory ............................................................. 12
Program Memory ....................................................... 11
INTEDG Bit ................................................................ 19
PS2:PS0 Bits ............................................................. 19
PSA Bit ....................................................................... 19
RBPU Bit .................................................................... 19
T0CS Bit ..................................................................... 19
T0SE Bit ..................................................................... 19
HS .................................................................... 123, 127
LP ..................................................................... 123, 127
RC ............................................................ 123, 124, 127
XT .................................................................... 123, 127
Block Diagram ............................................................ 38
RE0/RD/AN5 Pin .............................................. 9, 37, 38
RE1/WR/AN6 Pin ............................................. 9, 37, 38
RE2/CS/AN7 Pin .............................................. 9, 37, 38
Read Waveforms ....................................................... 39
Select (PSPMODE Bit) .................................. 35, 36, 38
Write Waveforms ....................................................... 39
(RBIE Bit) .......................................................... 20, 132
Evaluation and Programming Tools ................. 148
PCLATH Register ............................................ 15, 16, 17, 26
PCON Register .................................................... 17, 25, 126
PIC16F876 Pinout Description ............................................ 7
PICDEM-1 Low-Cost PICmicro Demo Board .................. 147
PICDEM-2 Low-Cost PIC16CXX Demo Board ................ 147
PICDEM-3 Low-Cost PIC16CXXX Demo Board ............. 147
PICSTART
PIE1 Register .............................................................. 17, 21
PIE2 Register .............................................................. 17, 23
Pinout Descriptions
PIR1 Register .................................................................... 22
PIR2 Register .................................................................... 24
POP ................................................................................... 26
PORTA ...................................................................... 7, 8, 17
PORTA Register ................................................................ 15
PORTB ...................................................................... 7, 8, 17
PORTB Register ................................................................ 15
PORTC ...................................................................... 7, 8, 17
PORTC Register ................................................................ 15
PORTD .................................................................... 9, 17, 38
PORTD Register ................................................................ 15
PORTE .......................................................................... 9, 17
BOR Bit ...................................................................... 25
POR Bit ...................................................................... 25
PIC16F873/PIC16F876 ............................................... 7
PIC16F874/PIC16F877 ............................................... 8
Analog Port Pins ...................................................... 7, 8
Initialization ................................................................ 29
PORTA Register ........................................................ 29
RA3, RA0 and RA5 Port Pins .................................... 29
RA4/T0CKI Pin .................................................. 7, 8, 29
RA5/SS/AN4 Pin ...................................................... 7, 8
TRISA Register .......................................................... 29
PORTB Register ........................................................ 31
Pull-up Enable (RBPU Bit) ......................................... 19
RB0/INT Edge Select (INTEDG Bit) .......................... 19
RB0/INT Pin, External ..................................... 7, 8, 132
RB3:RB0 Port Pins .................................................... 31
RB7:RB4 Interrupt on Change ................................. 132
RB7:RB4 Interrupt on Change Enable
(RBIE Bit) ........................................................... 20, 132
RB7:RB4 Interrupt on Change Flag
(RBIF Bit) ..................................................... 20, 31, 132
RB7:RB4 Port Pins .................................................... 31
TRISB Register .......................................................... 31
Block Diagram ........................................................... 33
PORTC Register ........................................................ 33
RC0/T1OSO/T1CKI Pin ........................................... 7, 8
RC1/T1OSI/CCP2 Pin ............................................. 7, 8
RC2/CCP1 Pin ......................................................... 7, 8
RC3/SCK/SCL Pin ................................................... 7, 8
RC4/SDI/SDA Pin .................................................... 7, 8
RC5/SDO Pin .......................................................... 7, 8
RC6/TX/CK Pin .................................................. 7, 8, 96
RC7/RX/DT Pin ........................................... 7, 8, 96, 97
TRISC Register ................................................... 33, 95
Block Diagram ........................................................... 35
Parallel Slave Port (PSP) Function ............................ 35
PORTD Register ........................................................ 35
TRISD Register ......................................................... 35
Analog Port Pins .............................................. 9, 37, 38
Block Diagram ........................................................... 36
Input Buffer Full Status (IBF Bit) ................................ 36
Input Buffer Overflow (IBOV Bit) ................................ 36
Output Buffer Full Status (OBF Bit) ........................... 36
PORTE Register ........................................................ 36
Plus Entry Level Development System ...... 147
PIC16F87X
DS30292B-page 187

Related parts for 16F876