English
Language : 

SH7751 Datasheet, PDF (695/1224 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
14. Direct Memory Access Controller (DMAC)
14.8.4 Clearing Request Queues by DTR Format
In DDT mode, the request queues of any channel can be cleared by using DTR.ID, DTR.MD,
DTR.SZ, and DTR.COUNT [7:4] in a DTR format. This function is only available when
DMAOR.DBL = 1. Table 14.18 shows the DTR format settings for clearing request queues.
Table 14.18 DTR Format for Clearing Request Queues
DMAOR.DBL DTR.ID DTR.MD DTR.SZ DTR.COUNT[7:4] Description
0
00
10
110
*
Clear the request queues of all channels
(1−7).
Clear the CH0 request-accepted flag
11
Setting prohibited
1
00
10
110
*
Clear the request queues of all channels
(1−7).
Clear the CH0 request-accepted flag.
11
0001
Clear the CH0 request-accepted flag
0010
Clear the CH1 request queues.
0011
Clear the CH2 request queues.
0100
Clear the CH3 request queues.
0101
Clear the CH4 request queues.
0110
Clear the CH5 request queues.
0111
Clear the CH6 request queues.
1000
Clear the CH7 request queues.
Note: (SH7751R) DTR.SZ = DTR[31:29], DTR.ID = DTR[27:26], DTR.MD = DTR[25:24],
DTR.COUNT[7:4] = DTR[23:20]
14.8.5 Interrupt-Request Codes
When the number of transfers specified in DMATCR has been finished and the interrupt request is
enabled (CHCR.IE = 1), a transfer-end interrupt request can be sent to the CPU from each
channel. Table 14.19 lists the interrupt-request codes that are associated with these transfer-end
interrupts.
Rev.4.00 Oct. 10, 2008 Page 597 of 1122
REJ09B0370-0400