Normal Mode - Renesas F-ZTAT H8 Series Hardware Manual

Hide thumbs Also See for F-ZTAT H8 Series:
Table of Contents

Advertisement

8.4.5

Normal Mode

In normal mode the A and B channels are combined. One byte or word is transferred per request.
A designated number of these transfers are executed. Addresses are specified in MARA and
MARB. Table 8.9 indicates the register functions in I/O mode.
Table 8.9
Register Functions in Normal Mode
Register
23
MARA
23
MARB
15
ETCRA
Legend:
MARA: Memory address register A
MARB: Memory address register B
ETCRA: Execute transfer count register A
The source and destination addresses are both 24-bit addresses. MARA specifies the source
address. MARB specifies the destination address. MARA and MARB can be independently
incremented, decremented, or held fixed as data is transferred.
The transfer count is specified as a 16-bit value in ETCRA. The ETCRA value is decremented by
1 at each transfer. When the ETCRA value reaches H'0000, the DTE bit is cleared and the transfer
ends. If the DTIE bit is set, a CPU interrupt is requested at this time. The maximum transfer count
is 65,536, obtained by setting ETCRA to H'0000.
Figure 8.8 illustrates how normal mode operates.
Function
Source address
0
register
Destination
0
address register
Transfer counter
0
Section 8 DMA Controller
Initial Setting
Operation
Source address
Incremented or
decremented once per
transfer, or held fixed
Destination
Incremented or
address
decremented once per
transfer, or held fixed
Number of
Decremented once per
transfers
transfer
Rev. 3.00 Mar 21, 2006 page 217 of 814
REJ09B0302-0300

Advertisement

Table of Contents
loading

Table of Contents