Fujitsu FR60 Computer Hardware User Manual


  Open as PDF
of 1038
 
351
Chapter 26 DMA Controller
2.DMA Controller (DMAC) Registers
[Bits 31 to 0] DMADA (DMA Destination Addr)*: Transfer destination address setting
These bits set the transfer destination address.
If DMA transfer is activated, data in this register is stored in the counter buffer of the DMA-dedicated address
counter and then the address is calculated according to the settings for the transfer operation. When the DMA
transfer is completed, the contents of the counter buffer are written back to this register and then DMA ends.
Thus, the address counter value during DMA operation cannot be read.
All registers have a dedicated reload register. When the register is used for a channel that is enabled for
reloading of the transfer source/transfer destination address register, the initial value is automatically written
back to the register when the transfer is completed. Other address registers are not affected.
When reset: Not initialized.
These bits are readable and writable. For this register, be sure to access these bits as 32-bit data.
If these bits are read during transfer, the address before the transfer is read. If they are read after transfer, the
next access address is read. Because the reload value cannot be read, it is not possible to read the transfer
address in real time.
Note:
Do not set any of the DMAC’s registers using this register. DMA transfer is not possible for the DMAC’s
registers themselves.
2.4 DMAC All-Channel Control Register (DMACR)
The DMAC all-channel control register (DMACR) controls the operation of the all five DMAC
channels. Be sure to access this register using byte length.
This section describes the configuration and functions of the DMAC all-channel control register
(DMACR).
Bit Configuration of DMAC All-Channel Control Register (DMACR)
Figure 2-5"Bit Configuration of the DMAC All-Channel Control Register (DMACR)" shows the bit configuration of
the DMAC all-channel control register (DMACR).
Figure 2-5 Bit Configuration of the DMAC All-Channel Control Register (DMACR)
Detailed Bit of DMAC All-Channel Control Register (DMACR)
The following describes the bit functions of the DMAC all-channel control register (DMACR) bits.
[Bit 31] DMAE (DMA Enable): DMA operation enable
This bit controls the operation of all DMA channels.
If DMA operation is disabled with this bit, transfer operations on all channels are disabled regardless of the
start/stop settings for each channel and the operating status. Any channel carrying out transfer cancels the
requests and stops transfer at a block boundary. All start operations on each channel in a disabled state are
disabled.
If this bit enables DMA operation, start/stop operations are enabled for each channels. Simply enabling DMA
operation with this bit does not activate each channel.
bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAE
--
PM01
DMAH[3:0]
--------
bit1514131211109876543210
----------------
Address 000240
H
Initial value
0XX00000XXXXXXXX
XXXXXXXXXXXXXXXX
B