PIC16C72A-04/SO Microchip Technology Inc., PIC16C72A-04/SO Datasheet - Page 19

no-image

PIC16C72A-04/SO

Manufacturer Part Number
PIC16C72A-04/SO
Description
28 PIN, 3.5 KB OTP, 128 RAM, 22 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16C72A-04/SO

A/d Inputs
5-Channel, 8-Bit
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
22
Memory Type
OTP
Number Of Bits
8
Package Type
28-pin SOIC
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
4 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2.5-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C72A-04/SO
Manufacturer:
MICROCHI
Quantity:
26
Part Number:
PIC16C72A-04/SO
Manufacturer:
MICROCHIP
Quantity:
3 290
Part Number:
PIC16C72A-04/SO
Manufacturer:
MICROCH
Quantity:
20 000
Company:
Part Number:
PIC16C72A-04/SO
Quantity:
600
3.0
Some I/O port pins are multiplexed with an alternate
function for the peripheral features on the device. In
general, when a peripheral is enabled, that pin may not
be used as a general purpose I/O pin.
Additional information on I/O ports may be found in the
PICmicro™
(DS33023).
3.1
PORTA is a 6-bit wide bi-directional port. The corre-
sponding data direction register is TRISA. Setting a
TRISA bit (=1) will make the corresponding PORTA pin
an input, i.e., put the corresponding output driver in a
hi-impedance mode. Clearing a TRISA bit (=0) will
make the corresponding PORTA pin an output, (i.e., put
the contents of the output latch on the selected pin).
The PORTA register reads the state of the pins,
whereas writing to it will write to the port latch. All write
operations are read-modify-write operations. There-
fore, a write to a port implies that the port pins are read,
this value is modified, and then written to the port data
latch.
Pin RA4 is multiplexed with the Timer0 module clock
input to become the RA4/T0CKI pin. The RA4/T0CKI
pin is a Schmitt Trigger input and an open drain output.
All other RA port pins have TTL input levels and full
CMOS output drivers.
Pin RA5 is multiplexed with the SSP to become the
RA5/SS pin.
On the PIC16C72A device, other PORTA pins are mul-
tiplexed with analog inputs and analog V
operation of each pin is selected by clearing/setting the
control bits in the ADCON1 register (A/D Control
Register1).
The TRISA register controls the direction of the RA
pins, even when they are being used as analog inputs.
The user must ensure the bits in the TRISA register are
maintained set when using them as analog inputs.
Note:
1999 Microchip Technology Inc.
I/O PORTS
PORTA and the TRISA Register
On a Power-on Reset, pins with analog
functions are configured as analog inputs
with digital input buffers disabled . A digital
read of these pins will return ’0’.
Mid-Range
Reference
REF
input. The
Manual,
Preliminary
FIGURE 3-1:
FIGURE 3-2:
WR
Port
Data
Bus
WR
TRIS
RD PORT
To A/D Converter (72A only)
Note 1: I/O pin has protection diodes to V
Note 1: I/O pins have protection diodes to V
Data
Bus
WR
TRIS
WR
PORT
RD PORT
TMR0 clock input
V
D
D
Data Latch
TRIS Latch
SS
CK
CK
PIC16C62B/72A
TRIS Latch
.
Data Latch
D
D
CK
CK
RD TRIS
BLOCK DIAGRAM OF
RA3:RA0 AND RA5 PINS
BLOCK DIAGRAM OF
RA4/T0CKI PIN
Q
Q
Q
Q
RD TRIS
Q
Q
Q
Q
Q
Q
Analog
input
mode
(72A
EN
only)
Schmitt
Trigger
input
buffer
EN
D
EN
DS35008B-page 19
D
V
N
SS
V
V
P
N
SS
DD
SS
DD
only.
I/O pin
and
TTL
input
buffer
I/O pin
(1)
(1)

Related parts for PIC16C72A-04/SO