NEC 78K0R/KE3 User Manual page 551

16-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) DMA RAM address register n (DRAn)
This is a 16-bit register that is used to set a RAM address that is the transfer source or destination of DMA
channel n.
Addresses of the internal RAM area other than the general-purpose registers (FEF00H to FFEDFH in the
μ
case of the
PD78F1142 and 78F1142A) can be set to this register.
Set the lower 16 bits of the RAM address.
This register is automatically incremented when DMA transfer has been started. It is incremented by +1 in
the 8-bit transfer mode and by +2 in the 16-bit transfer mode. DMA transfer is started from the address set to
this DRAn register. When the data of the last address has been transferred, DRAn stops with the value of the
last address +1 in the 8-bit transfer mode, and the last address +2 in the 16-bit transfer mode.
In the 16-bit transfer mode, the least significant bit is ignored and is treated as an even address.
DRAn can be read or written in 8-bit or 16-bit units. However, it cannot be written during DMA transfer.
Reset signal generation clears this register to 0000H.
Figure 14-2. Format of DMA RAM Address Register n (DRAn)
Address: FFFB2H, FFFB3H (DRA0), FFFB4H, FFFB5H (DRA1)
15
14
13
DRAn
(n = 0, 1)
Remark
n: DMA channel number (n = 0, 1)
CHAPTER 14 DMA CONTROLLER
DRA0H: FFFB3H
DRA1H: FFFB5H
12
11
10
9
User's Manual U17854EJ9V0UD
After reset: 0000H
R/W
DRA0L: FFFB2H
DRA1L: FFFB4H
8
7
6
5
4
3
2
1
0
551

Advertisement

Table of Contents
loading

Table of Contents