z89136 ZiLOG Semiconductor, z89136 Datasheet - Page 24

no-image

z89136

Manufacturer Part Number
z89136
Description
Low-cost Dtad Controller
Manufacturer
ZiLOG Semiconductor
Datasheet
PIN FUCTIONS (Continued)
Z89135/136 (ROMless)
Low-Cost DTAD Controller
Port 3. (P37-P31). Port 3 is a 7-bit, CMOS-compatible port
with three fixed inputs (P33-P31) and four fixed outputs
(P37-P34). It is configured under software control for in-
put/output, counter/timers, interrupt, and port handshakes.
Pins P31, P32, and P33 are standard CMOS inputs; out-
puts are push-pull.
Two on-board comparators can process analog signals on
P31 and P32 with reference to the voltage on P33. The an-
alog function is enabled by programming the Port 3 Mode
Register (bit 1). Port 3, pin 3 is a falling edge interrupt in-
put. P31 and P32 are programmable as rising, falling or
both edge-triggered interrupts (IRQ register bits 6 and 7).
P33 is the comparator reference voltage input. Access to
counter/timers 1 is through P31 (T
Pin
P31
P32
P33
P34
P35
P36
P37
Notes:
HS = Handshake Signals
D = DAV
R = RDY
1-24
OUT
OUT
OUT
OUT
I/O
IN
IN
IN
CTC1
T
T
OUT
IN
IN
) and P36 (T
Table 3. Port 3 Pin Assignments
AN IN
AN1
AN2
REF
P R E L I M I N A R Y
OUT
).
IRQ2
IRQ0
IRQ1
Int.
Handshake lines for Ports 0, 1, and 2 are available on P31
through P36.
Port 3 also provides the following control functions: hand-
shake for Ports 0, 1, and 2 (/DAV and RDY); three external
interrupt request signals (IRQ3-IRQ1); timer input and out-
put signals (T
Comparator Inputs. Port 3, Pins P31 and P32 each have
a comparator front end. The comparator reference volt-
age, Pin P33, is common to both comparators. In analog
mode, the P31 and P32 are the positive inputs to the com-
parators and P33 is the reference voltage supplied to both
comparators. In digital mode, pin P33 can be used as a
P33 register input or IRQ1 source.
P0 HS
D/R
R/D
IN
and T
P1 HS
OUT
D/R
R/D
); (Figure 13).
P2 HS
D/R
R/D
DS97TAD0300
EXT
DM
Zilog

Related parts for z89136