PIC16C765 Microchip Technology Inc., PIC16C765 Datasheet - Page 35

no-image

PIC16C765

Manufacturer Part Number
PIC16C765
Description
8-bit Cmos Microcontrollers With Usb
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C765-I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C765-I/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16C765-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C765/JW
Manufacturer:
MIC
Quantity:
60
Part Number:
PIC16C765/JW
Manufacturer:
MIC
Quantity:
60
Part Number:
PIC16C765/JW
Manufacturer:
MIC
Quantity:
5
Part Number:
PIC16C765/JW
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC16C765T-I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C765T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
5.3
PORTC is a 5-bit bi-directional port. Each pin is individ-
ually configureable as an input or output through the
TRISC register. PORTC is multiplexed with several
peripheral functions (Table 5-5). 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 out-
put, while other peripherals override the TRIS bit to
make a pin an input. Since the TRIS bit override is in
effect while the peripheral is enabled, read-modify-
write instructions (BSF, BCF, XORWF) with TRISC as
destination should be avoided. The user should refer to
the corresponding peripheral section for the correct
TRIS bit settings.
2000 Microchip Technology Inc.
PORTC and TRISC Registers
Preliminary
FIGURE 5-5:
WR
Port
Note 1: Port/Peripheral select signal selects between port
Port/Peripheral Select
Peripheral Data Out
Data Bus
Peripheral
OE
WR
TRIS
Peripheral Input
(2)
2: Peripheral OE (output enable) is only activated if
RD
Port
data and peripheral output.
peripheral select is active.
TRIS Latch
Data Latch
RD TRIS
D
D
CK
CK
PIC16C745/765
PORTC BLOCK DIAGRAM
Q
Q
Q
Q
(1)
0
1
Q
EN
D
Schmitt
Trigger
DS41124C-page 35
V
V
N
P
SS
DD
V
DD
I/O
pin

Related parts for PIC16C765