Z8018x
Family MPU User Manual
UM005004-0918
157
control register. The PRT input clock for both channels is equal to the
system clock divided by 20.
Figure 63. PRT Block Diagram
PRT Register Description
Timer Data Register (TMDR: I/O Address - CH0: 0CH, 0DH; CH1: 15H,
14H). PRT0 and PRT1 each contain 16-bit timer Data Registers (TMDR).
TMDR0 and TMDR1 are each accessed as low and high byte registers
(TMDR0H, TMDR0L and TMDR1H, TMDR1L). During RESET,
TMDR0 and TMDR1 are set to
FFFFH
.
TMDR is decremented once every twenty clocks. When TMDR counts
down to 0, it is automatically reloaded with the value contained in the
Reload Register (RLDR).
TMDR is read and written by software using the following procedures.
The read procedure uses a PRT internal temporary storage register to
Phi
÷
20
Internal Address/Data Bus
TOUT
Timer Data
Register 0L
: TMDR0L (8)
Timer Data
Register 0H
: TMDR0H (8)
Timer Reload
Register 0L
: RLDR0L (8)
Timer Reload
Register 0H
: RLDR0H (8)
Timer Control
Register
: TCR (8)
Phi
÷
20
Timer Data
Register 1L
: TMDR1L (8)
Timer Data
Register 1H
: TMDR1H (8)
Timer Reload
Register 1L
: RLDR1L (8)
Timer Reload
Register 1H
: RLDR1H (8)
Interrupt Register
Summary of Contents for Z8018 Series
Page 1: ...www zilog com Z8018x Family MPU User Manual UM005004 0918...
Page 206: ...Z8018x Family MPU User Manual 192 UM005004 0918...
Page 220: ...Z8018x Family MPU User Manual 206 UM005004 0918...
Page 250: ...Z8018x Family MPU User Manual 236 UM005004 0918...
Page 260: ...Z8018x Family MPU User Manual 246 UM005004 0918...
Page 300: ...Z8018x Family MPU User Manual 286 UM005004 0918...
Page 306: ...Z8018x Family MPU User Manual 292 UM005004 0918...