PIC16F874-04/PQ Microchip Technology, PIC16F874-04/PQ Datasheet - Page 125

IC MCU FLASH 4KX14 EE 44MQFP

PIC16F874-04/PQ

Manufacturer Part Number
PIC16F874-04/PQ
Description
IC MCU FLASH 4KX14 EE 44MQFP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F874-04/PQ

Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Oscillator Type
External
Core Processor
PIC
Speed
4MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
33
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x10b
Operating Temperature
0°C ~ 70°C
Package / Case
44-MQFP, 44-PQFP
Controller Family/series
PIC16F
No. Of I/o's
33
Eeprom Memory Size
128Byte
Ram Memory Size
192Byte
Cpu Speed
4MHz
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
192 B
Interface Type
MSSP, PSP, USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
33
Number Of Timers
3 bit
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 70 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163022, DV164120
Minimum Operating Temperature
0 C
On-chip Adc
8
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F874-04/PQ
Manufacturer:
MICROCHIP
Quantity:
9 100
Part Number:
PIC16F874-04/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
1997 Microchip Technology Inc.
The Global Interrupt Enable bit, GIE (INTCON<7>), enables (if set) all un-masked interrupts or
disables (if cleared) all interrupts. Individual interrupts can be disabled through their correspond-
ing enable bits in the INTCON register. The GIE bit is cleared on reset.
The “return from interrupt” instruction,
bit, which allows any pending interrupt to execute.
The INTCON register contains these interrupts: INT Pin Interrupt, the RB Port Change Interrupt,
and the TMR0 Overflow Interrupt. The INTCON register also contains the Peripheral Interrupt
Enable bit, PEIE. The PEIE bit will enable/disable the peripheral interrupts from vectoring when
the PEIE bit is set/cleared.
When an interrupt is responded to, the GIE bit is cleared to disable any further interrupt, the
return address is pushed into 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.
Generally the interrupt flag bit(s) must be cleared in software before re-enabling the global inter-
rupt to avoid recursive interrupts.
Once in the interrupt service routine the source(s) of the interrupt can be determined by polling
the interrupt flag bits. Individual interrupt flag bits are set regardless of the status of their
corresponding mask bit or the GIE bit.
Note 1: Individual interrupt flag bits are set regardless of the status of their corresponding
Note 2: When an instruction that clears the GIE bit is executed, any interrupts that were
mask bit or the GIE bit.
pending for execution in the next cycle are ignored. The CPU will execute a NOP in
the cycle immediately following the instruction which clears the GIE bit. The inter-
rupts which were ignored are still pending to be serviced when the GIE bit is set
again.
RETFIE
Section 8. Interrupts
, exits the interrupt routine as well as sets the GIE
DS31008A-page 8-3
8

Related parts for PIC16F874-04/PQ