deveopmen
Rev.B2 for proof reading
DMAC
Mitsubishi Microcomputers
M32C/83 group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
115
b23
b0
Function
R W
Set source or destination memory address
DMAi memory address register (i = 0 to 3)
(CPU internal register)
Setting range
000000
16
to FFFFFF
16
(16 Mbytes area)
AA
AA
Note 1: When the transfer direction select bit is "0" (fixed address to memory), this register
is destination memory address.
When the transfer direction select bit is "1" (memory to fixed address), this register
is source memory address.
Note 2: Use LDC instruction to write to this register.
Note 3: When setting DMA2 and DMA3, set "1" to the register bank select flag (B flag) of
flag register (FLG), and set desired value to A0 and A1 of register bank 1. Use
MOV instruction to write to this register.
b0
Function
R W
Set source or destination fixed address
DMAi SFR address register (i = 0 to 3)
(CPU internal register)
000000
16
to FFFFFF
16
(16 Mbytes area)
AA
Note 1: When the transfer direction select bit is "0" (fixed address to memory), this register
is source fixed address.
When the transfer direction select bit is "1" (memory to fixed address), this register
is destination fixed address.
Note 2: Use LDC instruction to write to this register.
Note 3: When setting DSA2, set "1" to the register bank select flag (B flag) of flag register
(FLG), and set desired value to SB of register bank 1. Use LDC instruction to write
to this register.
Note 4: When setting DSA3, set "1" to the register bank select flag (B flag) of flag register
(FLG), and set desired value to FB of register bank 1. Use LDC instruction to write
to this register.
b0
Function
R W
Set source or destination memory address
DMAi memory address reload register (i = 0 to 3) (Note 1)
(CPU internal register)
000000
16
to FFFFFF
16
(16 Mbytes area)
AA
Note 1: Use LDC instruction to write to this register.
Note 2: When setting DRA2, set desired value to save PC register (SVP).
Note 3: When setting DRA3, set desired value to vector register (VCT).
b23
b23
Setting range
Setting range
Symbol
DMA0 (Note 2)
DMA1 (Note 2)
DMA2 (bank 1;A0) (Note 3)
DMA3 (bank 1;A1) (Note 3)
Address
(CPU internal register)
(CPU internal register)
(CPU internal register)
(CPU internal register)
When reset
XXXXXX
16
XXXXXX
16
000000
16
000000
16
Symbol
DSA0 (Note 2)
DSA1 (Note 2)
DSA2 (bank 1;SB) (Note 3)
DSA3 (bank 1;FB) (Note 4)
Address
(CPU internal register)
(CPU internal register)
(CPU internal register)
(CPU internal register)
When reset
XXXXXX
16
XXXXXX
16
000000
16
000000
16
Symbol
DRA0
DRA1
DRA2 (bank 1;SVP) (Note 2) (CPU internal register)
DRA3 (bank 1;VCT) (Note 3) (CPU internal register)
Address
(CPU internal register)
(CPU internal register)
When reset
XXXXXX
16
XXXXXX
16
XXXXXX
16
XXXXXX
16
(Note 1)
(Note 1)
Figure 1.11.5. DMAC register (4)