Z8018x Family
MPU User Manual
163
Table 23. Timer Output Control
TOC1
TOC0 OUTPUT
0
0
Inhibited
(A18/TOUT pin is selected as an
address output function.)
0
1
1
0
Toggled
0
A18/TOUT pin is selected as a
PRT1 output function!
1
1
1
Figure 64 illustrates timer initialization, count down, and reload timing.
Figure 65 depicts timer output (A18/TOUT) timing.
Timer Data Register
write (0004H)
0 < + < 20
20
RESET
20
f
f
20
f
20
f
20
f
20
f
20
f
20
f
20f
Timer Data
FFFFH 0004H 0003H 0002H 0001H 0000H 0003H 0002H 0001H 0000H 0003H
Register
Timer Reload Register Write (0003H)
Reload
Reload
Timer Reload
Register
FFFFH 0003H
Write 1 to TDE
TDE Flag
TIF Flag
Timer Data Register Read
Timer Control
Register Read
Figure 64. Timer Initialization, Count Down, and Reload Timing Diagram
UM005001-ZMP0400