Z8018x
Family MPU User Manual
UM005004-0918
107
Memory to I/O (Memory Mapped I/O) — Channel 0
For memory to/from I/O (and memory to/from memory mapped I/O) the
DREQ0 input is used to time the DMA transfers. In addition, the TEND0
(Transfer End) output is used to indicate the last (byte count register
BCR0 =
00H
) transfer.
The DREQ0 input can be programmed as level- or edge-sensitive.
When level-sense is programmed, the DMA operation begins when
DREQ0 is sampled Low. If DREQ0 is sampled High, after the next DMA
byte transfer, control is relinquished to the Z8X180 CPU. As illustrated in
Figure 47, DREQ0 is sampled at the rising edge of the clock cycle prior to
T3, (that is, either T2
or Tw).
Figure 47. CPU Operation and DMA Operation DREQ0 is Programmed
for Level-Sense
When edge-sense is programmed, DMA operation begins at the falling
edge of DREQ0 If another falling edge is detected before the rising edge
of the clock prior to T3 during DMA write cycle (that is T2 or Tw), the
DMAC continues operating. If an edge is not detected, the CPU is given
control after the current byte DMA transfer completes. The CPU
continues operating until a DREQ0 falling edge is detected before the
Tw
T1
T2
T3
Tw
Tw Tw
T1
T1
T1
T2
T2
T2
T3
T3
T3
DMA
CPU
DMA
DMA
**
**
**
** DREQ0 is sampled at
DREQ0
Phi
Write
Cycle
Machine
Cycle
Read
Cycle
Write
Cycle (I/O)
Содержание Z8018 Series
Страница 1: ...www zilog com Z8018x Family MPU User Manual UM005004 0918...
Страница 206: ...Z8018x Family MPU User Manual 192 UM005004 0918...
Страница 220: ...Z8018x Family MPU User Manual 206 UM005004 0918...
Страница 250: ...Z8018x Family MPU User Manual 236 UM005004 0918...
Страница 260: ...Z8018x Family MPU User Manual 246 UM005004 0918...
Страница 300: ...Z8018x Family MPU User Manual 286 UM005004 0918...
Страница 306: ...Z8018x Family MPU User Manual 292 UM005004 0918...