Figure, Figure 24) to configure – Zilog Z8PE002 User Manual
Page 32

Z8PE002
Z8Plus OTP Microcontroller
ZiLOG
32
P R E L I M I N A R Y
DS008700-Z8X0799
TIMERS (Continued)
Figure 23. PortB Special Function Register
Figure 24. Port B Directional Control Register
Figure 25. Timer T0 Output Through T
OUT
D7
D6
D5
D4
D3
D2
D1
D0
0D7
PTBSFR
1 = Enable Bit 0 as SMR input
0 = No special functionality
1 = Enable Bit 1 as T0 output
0 = No special functionality
1 = Enable Bit 2 as IRQ2 input
0 = No special functionality
D4 D3 Comparator Interrupts
--- --- -------------- -------------------
0 0 Disabled
Disabled
0 1 Enabled
Disabled
1 0 Disabled
Enabled
1 1 Enabled
Enabled
BIT 3: Comparator reference input
BIT 4: Comparator signal input/IRQ0/IRQ2
Reserved (must be 0)
D7
D6
D5
D4
D3
D2
D1
D0
0D6
PTBDIR
Reserved (must be 0)
1 = Bit n set as output
0 = Bit n set as input
T
OUT
PB1
IRQ0
(T0 End-of-Count)
÷
2