
Rev. 2.0, 09/02, page 112 of 732
IRQ
on-chip
peripheral
Interrupt
requests
CPU interrupt requests
(those not designated as
DTC activating sources)
Interrupt requests
(those not designated as
DMAC activating sources)
Source flag clear
Source
flag clear
DTER
INTC
DTC
DTC control
Clear
DTC activation
request
DMAC
Figure 8.2 Activating Source Control Block Diagram
8.3.2
Location of Register Information and DTC Vector Table
Figure 8.3 shows the allocation of register information in memory space. The register information
start addresses are designated by DTBR for the upper 16 bits, and the DTC vector table for the
lower 16 bits.
The allocation in order from the register information start address in normal mode is DTMR,
DTCRA, 4 bytes empty (no effect on DTC operation), DTSAR, then DTDAR. In repeat mode it is
DTMR, DTCRA, DTIAR, DTSAR, and DTDAR. In block transfer mode, it is DTMR, DTCRA, 2
bytes empty (no effect on DTC operation), DTCRB, DTSAR, then DTDAR.
Fundamentally, certain RAM areas are designated for addresses storing register information.
Memory space
Normal mode
DTMR
DTCRA
DTSAR
DTDAR
Memory space
Repeat mode
DTMR
DTCRA
DTSAR
DTDAR
Memory space
Block transfer mode
Register
information
DTMR
DTCRA
DTCRB
DTIAR
DTSAR
DTDAR
Register
information
start address
Figure 8.3 DTC Register Information Allocation in Memory Space
Figure 8.4 shows the correspondence between DTC vector addresses and register information
allocation. For each DTC activating source there are 2 bytes in the DTC vector table, which
contain the register information start address.
Table 8.1 shows the correspondence between activating sources and vector addresses. When
activating with software, the vector address is calculated as H'0400 + DTVEC[7:0].