ZiLOG Z8 User Manual page 55

Hide thumbs Also See for Z8:
Table of Contents

Advertisement

ZiLOG
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.
OPEN-DRAIN
P21-P26 OE
P21-P26 OUT
P21-P26 IN
Figure 5-12. Port 2 Configuration with Open-Drain Capability, Auto Latch, and Schmitt-Trigger
UM001601-0803
1.5
2.3V Hysteresis @ V
R ≈ 500 KΩ
Register F6H
Port 2 Mode Register (P2M)
(Write-Only)
D7 D6 D5 D4 D3 D2 D1 D0
Figure 5-11. Port 2 I/O Mode Configuration
= 5.0V
CC
Z8 Microcontrollers
I/O Ports
Port 2 Mode
0 = Output
1 = Input
P21-P26
PIN
Auto Latch
5-9

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Z8 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents