PIC16F877-04E/PT Microchip Technology, PIC16F877-04E/PT Datasheet - Page 148

IC MCU FLASH 8KX14 EE 44TQFP

PIC16F877-04E/PT

Manufacturer Part Number
PIC16F877-04E/PT
Description
IC MCU FLASH 8KX14 EE 44TQFP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F877-04E/PT

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
33
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 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
44-TQFP, 44-VQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
PIC16F87704E/PT

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F877-04E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PICmicro MID-RANGE MCU FAMILY
9.4
DS31009A-page 9-8
Note 1: Port/Peripheral select signal selects between port data and peripheral output.
2: Peripheral OE (output enable) is only activated if peripheral select is active.
3: I/O pins have diode protection to V
Peripheral input
PORT/PERIPHERAL Select
Peripheral Data-out
Data Bus
Peripheral OE
PORTC and the TRISC Register
(2)
PORTC is an 8-bit bi-directional port. Each pin is individually configurable as an input or output
through the TRISC register. PORTC pins have Schmitt Trigger input buffers.
When enabling peripheral functions, care should be taken in defining TRIS bits for each PORTC
pin. Some peripherals override the TRIS bit to make a pin an output, while other peripherals over-
ride the TRIS bit to make a pin an input.
Example 9-3: Initializing PORTC
Figure 9-6: PORTC Block Diagram (Peripheral Output Override)
CLRF
CLRF
BSF
MOVLW
MOVWF
WR PORT
WR TRIS
(1)
RD PORT
RD TRIS
STATUS
PORTC
STATUS, RP0
0xCF
TRISC
TRIS Latch
Data Latch
D
D
CK
CK
DD
Q
Q
Q
Q
and V
; Bank0
; Initialize PORTC by clearing output
;
; Select Bank1
; Value used to initialize data direction
; PORTC<3:0> = inputs, PORTC<5:4> = outputs
;
SS
.
data latches
PORTC<7:6> = inputs
0
1
Q
EN
D
1997 Microchip Technology Inc.
V
V
P
N
SS
DD
RD PORT
Schmitt
Trigger
I/O pin

Related parts for PIC16F877-04E/PT