
510
Chapter 15
DMA Functions (DMA Controller)
User’s Manual U16702EE3V2UD00
Figure 15-6:
DMA Destination Address Register (DMDAn) Format (2/2)
The number of relevant bits of DA25 - DA0 is as follows:
Caution:
SA0 and DA0 have to be set to 0, when DMA transfer size is halfword.
SA0 and DA0 and SA1 and DA1 have to be set to 0, when DMA transfer size is word.
(5)
DMA transfer count register (DMBCn)
The DMBCn register sets the transfer count for DMA channel n. It holds the number of remaining
transfers during a DMA transfer. The value is decremented with each transfer and hold a value of
0 at the end of a DMA transfer. The register can be read or written in 16-bit units.
Caution:
Write to DMBCn is permitted only when EN = 0 (DMCHCn register).
Figure 15-7:
DMA Transfer Count Register (DMBCn) Format
Note:
When the value of DMBCn register is read as 0, it can either mean that there is one remaining
transfer pending, or that the transfer is completed. The EN bit can be used to determine if a fur-
ther transfer is pending or if the transfer is completed.
DA25 - DA0
DMA transfer destination address (address signals A25 - A0).
If address increment is selected for the DMA transfer, the address will be updated after
each transfer to the next transfer address.
Transfer object
Setting of DA25 - DA0
Internal RAM
Set the lower 16-bit address for DA15 - DA0
External Memory
Set the lower 26-bit address for DA25 - DA0
On-chip Peripheral I/O
Set the lower 14-bit address for DA13 - DA0
DMBC0=FFFFFE10H, DMBC1=FFFFFE1CH, DMBC2=FFFFFE28H,
DMBC3=FFFFFE34H, DMBC4=FFFFFE40H, DMBC5=FFFFFE4CH
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Address
After
reset
DMBCn BC15 BC14 BC13 BC12 BC11 BC10 BC9 BC8 BC7 BC6 BC5 BC4 BC3 BC2 BC1 BC0
undef.
R/W
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
BC15 - BC0
DMA Transfer Counter
0000H
1 transfer remaining
Note
0001H
2 transfers remaining
...
...
FFFFH
65536 transfers remaining
electronic components distributor
Содержание V850E/RS1
Страница 6: ...6 User s Manual U16702EE3V2UD00 Downloaded from Elcodis com electronic components distributor...
Страница 206: ...206 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 232: ...232 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 366: ...366 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 402: ...402 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 684: ...684 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 766: ...766 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 798: ...798 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 832: ...832 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 834: ...834 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 848: ...848 User s Manual U16702EE3V2UD00 Downloaded from Elcodis com electronic components distributor...
Страница 852: ...Downloaded from Elcodis com electronic components distributor...