PIC16F874A-E/L Microchip Technology, PIC16F874A-E/L Datasheet - Page 190
PIC16F874A-E/L
Manufacturer Part Number
PIC16F874A-E/L
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LDCC,44PIN,PLASTIC
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 PIC16F874A-E/L
Rohs Compliant
YES
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
33
Program Memory Size
7KB (4K x 14)
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
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
44-PLCC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA16XL441 - ADAPTER DEVICE ICE 44PLCC309-1040 - ADAPTER 44-PLCC ZIF TO 40-DIP309-1039 - ADAPTER 44-PLCC TO 40-DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F874A-E/L
Manufacturer:
Microchip Technology
Quantity:
10 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: 190 of 688
- Download datasheet (3Mb)
PICmicro MID-RANGE MCU FAMILY
12.11
DS31012A-page 12-10
Initialization
Since Timer1 has a software programmable clock source, there are three examples to show the
initialization of each mode.
Example 12-5
initialization of the external oscillator mode.
Example 12-4:
Example 12-5:
;
; The Timer1 interrupt is disabled, do polling on the overflow bit
;
T1_OVFL_WAIT
;
; Timer has overflowed
;
;
; The Timer1 interrupt is disabled, do polling on the overflow bit
;
T1_OVFL_WAIT
;
; Timer has overflowed
;
CLRF
CLRF
CLRF
CLRF
BSF
CLRF
BCF
CLRF
MOVLW
MOVWF
BSF
BTFSS
GOTO
BCF
CLRF
CLRF
CLRF
CLRF
BSF
CLRF
BCF
CLRF
MOVLW
MOVWF
BSF
BTFSS
GOTO
BCF
T1CON
TMR1H
TMR1L
INTCON
STATUS, RP0
PIE1
STATUS, RP0
PIR1
0x30
T1CON
T1CON, TMR1ON ; Timer1 starts to increment
PIR1, TMR1IF
T1_OVFL_WAIT
PIR1, TMR1IF
T1CON
TMR1H
TMR1L
INTCON
STATUS, RP0
PIE1
STATUS, RP0
PIR1
0x32
T1CON
T1CON, TMR1ON ; Timer1 starts to increment
PIR1, TMR1IF
T1_OVFL_WAIT
PIR1, TMR1IF
shows the initialization for the external clock source, and
Timer1 Initialization (Internal Clock Source)
Timer1 Initialization (External Clock Source)
Example 12-4
; Stop Timer1, Internal Clock Source,
;
; Clear Timer1 High byte register
; Clear Timer1 Low byte register
; Disable interrupts
; Bank1
; Disable peripheral interrupts
; Bank0
; Clear peripheral interrupts Flags
; Internal Clock source with 1:8 prescaler
;
; Stop Timer1, Internal Clock Source,
;
; Clear Timer1 High byte register
; Clear Timer1 Low byte register
; Disable interrupts
; Bank1
; Disable peripheral interrupts
; Bank0
; Clear peripheral interrupts Flags
; External Clock source with 1:8 prescaler
;
;
T1 oscillator disabled, prescaler = 1:1
Timer1 is stopped and T1 osc is disabled
T1 oscillator disabled, prescaler = 1:1
Clock source is synchronized to device
Timer1 is stopped and T1 osc is disabled
shows the initialization for the internal clock source,
1997 Microchip Technology Inc.
Example 12-6
shows the
Related parts for PIC16F874A-E/L
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
IC MCU FLASH 4KX14 EE 40DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 40DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 40DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,QFP,44PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44MQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 40DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44-MQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 40DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet: