Figure 14.2 Dmac Transfer Flowchart - Hitachi SH7751 Hardware Manual

Superh risc engine
Table of Contents

Advertisement

Start
Initial settings
(SAR, DAR, DMATCR,
CHCR, DMAOR)
DE, DME = 1?
Yes
Illegal address check
(reflected in AE bit)
NMIF, AE, TE = 0?
Yes
Transfer
request issued?
*1
Yes
Transfer (1 transfer unit)
DMATCR - 1 → DMATCR
Update SAR, DAR
DMATCR = 0?
Yes
DMTE interrupt request
(when IE = 1)
NMIF or
AE = 1 or DE = 0 or
DME = 0?
Yes
End of transfer
Notes: *1 In auto-request mode, transfer begins when the NMIF, AE, and TE bits are all 0, and the DE
and DME bits are set to 1.
*2
level detection (external request) in burst mode, or cycle steal mode
*3
edge detection (external request) in burst mode, or auto-request mode in burst mode
*4 An illegal address is detected by comparing bits TS2–TS0 in CHCRn with SARn and DARn
No
*4
No
No
No
No
Normal end

Figure 14.2 DMAC Transfer Flowchart

*3
transfer request mode,
NMIF or
No
AE = 1 or DE = 0 or
DME = 0?
Yes
Transfer suspended
Rev. 3.0, 04/02, page 485 of 1064
*2
Bus mode,
detection
method

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7751r

Table of Contents