
Z8PE002
ZiLOG Z8Plus OTP Microcontroller
DS008700-Z8X0799 P R E L I M I N A R Y 41
PORT B CONTROL REGISTERS
Figure 38. Port B Input Value Register
Figure 39. Port B Output Value Register
Figure 40. Port B Directional Control Register
D7 D6 D5 D4 D3 D2 D1 D0
Register 0D4H
PTBIN
Port B Bit n current input value
Reserved (must be 0)
(only updated for pins in input mode)
D7 D6 D5 D4 D3 D2 D1 D0
Register 0D5H
PTBOUT
Port B Bit n current output value
Reserved (must be 0)
D7 D6 D5 D4 D3 D2 D1 D0
Register 0D6H
PTBDIR
Reserved (must be 0)
1 = Bit n set as output
0 = Bit n set as input
Comentarios a estos manuales