CHAPTER 6 DMA FUNCTIONS (DMA CONTROLLER)
217
User’s Manual U14359EJ4V0UM
6.3.8 DMA terminal count output control register (DTOC)
The DMA terminal count output control register (DTOC) is an 8-bit register that controls the terminal count output
from each DMA channel. Terminal count signals from each DMA channel can be brought together and output from
the TC0 pin.
This register can be read/written in 8- or 1-bit units.
Address
FFFFF8A0H
7
0
DTOC
6
0
5
0
4
0
<3>
TCO3
<2>
TCO2
<1>
TCO1
<0>
TCO0
After reset
01H
Bit position
Bit name
Function
3 to 0
TCO3 to
TCO0
Terminal Count Output
Indicates the state of the TCn pin (n = 0 to 3).
0: Channel n terminal count signal not output from TC0 pin.
1: Channel n terminal count signal output from TC0 pin.
The following shows an example of the case when the DTOC register is set to 03H.
TC0 (output)
TC2 (output)
DMA0
CPU
DMA0
DMA1
DMA1
CPU
DMA2
DMA2
DMA channel 2
terminal count
DMA channel 1
terminal count
DMA channel 0
terminal count