PIC16F876A-E/ML Microchip Technology, PIC16F876A-E/ML Datasheet - Page 155
![IC MCU FLASH 8KX14 A/D 28QFN](/photos/6/81/68120/150-28-qfn_sml.jpg)
PIC16F876A-E/ML
Manufacturer Part Number
PIC16F876A-E/ML
Description
IC MCU FLASH 8KX14 A/D 28QFN
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16C770-ISO.pdf
(8 pages)
4.PIC16F873A-ISO.pdf
(234 pages)
5.PIC16F873A-ISO.pdf
(6 pages)
6.PIC16F873A-ISO.pdf
(4 pages)
7.PIC16F873A-ISO.pdf
(6 pages)
8.PIC16F873A-ISO.pdf
(4 pages)
9.PIC16F873A-ISO.pdf
(22 pages)
Specifications of PIC16F876A-E/ML
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F876A-E/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
- PIC16F616T-ISL PDF datasheet
- PIC16F688T-ISL PDF datasheet #2
- PIC16C770-ISO PDF datasheet #3
- PIC16F873A-ISO PDF datasheet #4
- PIC16F873A-ISO PDF datasheet #5
- PIC16F873A-ISO PDF datasheet #6
- PIC16F873A-ISO PDF datasheet #7
- PIC16F873A-ISO PDF datasheet #8
- PIC16F873A-ISO PDF datasheet #9
- Current page: 155 of 234
- Download datasheet (5Mb)
14.11 Interrupts
The PIC16F87XA family has up to 15 sources of
interrupt. The Interrupt Control register (INTCON)
records individual interrupt requests in flag bits. It also
has individual and global interrupt enable bits.
A global interrupt enable bit, GIE (INTCON<7>),
enables (if set) all unmasked interrupts or disables (if
cleared) all interrupts. When bit GIE is enabled and an
interrupt’s flag bit and mask bit are set, the interrupt will
vector immediately. Individual interrupts can be
disabled through their corresponding enable bits in
various registers. Individual interrupt bits are set
regardless of the status of the GIE bit. The GIE bit is
cleared on Reset.
The “return from interrupt” instruction, RETFIE, exits
the interrupt routine, as well as sets the GIE bit, which
re-enables interrupts.
FIGURE 14-10:
2003 Microchip Technology Inc.
Note:
PSPIF
PSPIE
Note 1: PSP interrupt is implemented only on PIC16F874A/877A devices.
CMIF
CMIE
BCLIF
BCLIE
EEIF
EEIE
(1)
(1)
Individual interrupt flag bits are set regard-
less of the status of their corresponding
mask bit or the GIE bit.
TMR1IF
TMR1IE
CCP2IF
CCP2IE
RCIF
RCIE
ADIF
ADIE
INTERRUPT LOGIC
CCP1IF
CCP1IE
TMR2IF
TMR2IE
SSPIF
SSPIE
TXIF
TXIE
TMR0IF
TMR0IE
INTF
INTE
RBIF
RBIE
PEIE
GIE
The RB0/INT pin interrupt, the RB port change interrupt
and the TMR0 overflow interrupt flags are contained in
the INTCON register.
The peripheral interrupt flags are contained in the
Special Function Registers, PIR1 and PIR2. The
corresponding interrupt enable bits are contained in
Special Function Registers, PIE1 and PIE2, and the
peripheral interrupt enable bit is contained in Special
Function Register, INTCON.
When an interrupt is responded to, the GIE bit is
cleared to disable any further interrupt, the return
address is pushed onto the stack and the PC is loaded
with 0004h. Once in the Interrupt Service Routine, the
source(s) of the interrupt can be determined by polling
the interrupt flag bits. The interrupt flag bit(s) must be
cleared in software before re-enabling interrupts to
avoid recursive interrupts.
For external interrupt events, such as the INT pin or
PORTB change interrupt, the interrupt latency will be
three or four instruction cycles. The exact latency
depends when the interrupt event occurs. The latency
is the same for one or two-cycle instructions. Individual
interrupt flag bits are set regardless of the status of their
corresponding mask bit, PEIE bit or GIE bit.
PIC16F87XA
Wake-up (If in Sleep mode)
DS39582B-page 153
Interrupt to CPU
Related parts for PIC16F876A-E/ML
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16F876-04/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F876-04/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F876-20/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F876-20/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F876-04I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F876-20I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F876-20I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F876-04E/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F876-10E/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F876-04I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F876-04E/SP](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,28PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F876-10E/SO](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,28PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F87-I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F87-I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F87-I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 20SSOP
Manufacturer:
Microchip Technology
Datasheet: