Return to previous page Return to menu Go to next page

2.4 Function specifications

[High level SCU]

  Title  
Function specifications
  Function  
DMA data transfer
  Function name  
DMA_ScuMemCopy
No
1

 
format void DMA_ScuMemCopy (void * dst, void * src, Uint32 cnt) Input * dst: Destination address * src: Source address : cnt: Number of bytes transferred Output None Function value None Function DMA transfer in direct mode of DMA mode 0 of SCU. See SCU User's Manual for details Please refer to Al. When the destination address is work RAM and work The operation is different from that other than RAM. Each operation is shown below.
      • In order to eliminate inconsistencies with the work RAM cache, the destination error after transfer Purge rear. Since CPU_Bus is used, control does not return to the CPU until DMA execution is completed.
      • Other than work RAM Since CPU_Bus is not used, control returns to the CPU immediately after the transfer starts. This place Please check the end with DMA_ScuResult ().

      The transfer unit is basically a longword unit, but the source and destination addresses are Can be specified in bytes. However, if the device requests a word boundary etc. Follow it when you are. For details, see the SCU User's Manual.


Return to previous page Return to menu Go to next page