Fujitsu FR81S User Manual

Page of 2342
CHAPTER 8: DMA CONTROLLER (DMAC) 
 
 
5. Operation 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER : DMA CONTROLLER (DMAC) 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
31 
 Transfer Count Reload Setting   
Using the DCCRn:TCR, set the reload control of transfer count at the end of transfer. 
 
The transfer count is not reloaded after the transfer. (After the normal completion of transfer, the 
transfer count is set to 0.) (DCCRn:TCR=0) 
 
The transfer count is returned to the initial value at the end of transfer. (DCCRn:TCR=1) 
 
 Transfer Size and Block Size Setting 
To set a transfer unit for DMA transfer (the byte count to be transferred as 1 block), set the transfer size and 
block size. 
Using the DCCRn.TS, set the size of data to be sent by a single DMA transfer (8-bit/16-bit/32-bit). 
 
8-bit (DCCRn:TS = 00) 
 
16-bit (DCCRn:TS = 01) 
 
32-bit (DCCRn:TS = 10) 
 
Using the DCCRn:BLK, set the DMA transfer count for 1-block data transfer. The block size can be 1 to 16 
times. In the 1-block transfer, data having the bit width being set by the transfer size (DCCRn:TS), is 
transferred for the number of times being set by the block size. 
MB91520 Series
MN705-00010-1v0-E
330