EasyManua.ls Logo

ZiLOG Z8

ZiLOG Z8
220 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Z8 Microcontrollers
ZiLOG I/O Ports
UM001601-0803 5-9
5.4 PORT 2
Port 2 is a general-purpose port. Figure 5-2 shows a block dia-
gram of Port 2. Each of its lines can be independently pro-
grammed as input or output via the Port 2 Mode Register (F6H)
as seen in Figure 5-11. A bit set to a 1 in P2M configures the cor
-
responding bit in Port 2 as an input, while a bit set to 0 configures
an output line.
Figure 5-11. Port 2 I/O Mode Configuration
D7 D6 D5 D4 D3 D2 D1 D0
(Write-Only)
1 = Input
Port 2 Mode
0 = Output
Port 2 Mode Register (P2M)
Register F6H
Figure 5-12. Port 2 Configuration with Open-Drain Capability, Auto Latch, and Schmitt-Trigger
P21-P26 OE
PIN
P21-P26 OUT
P21-P26 IN
2.3V Hysteresis @ V
CC
= 5.0V
OPEN-DRAIN
1.5
R 500 K
Auto Latch
P21-P26

Table of Contents

Other manuals for ZiLOG Z8

Related product manuals