Return to previous page Return to menu Go to next page

[High-level CPU]

  Title  
Function specifications
  Function  
Data transfer (bytes)
  Function name  
DMA_CpuMemCopy1
No
3

 
format void DMA_CpuMemCopy1 (void * dst, void * src, Uint32 cnt) Input * dst; Destination address * src; source address c cnt; Number of transfers (0-16777215) 0x00000001 1 time 0x00ffffff 16777215 times 0x00000000 16777216 times Output None Function value None Function Transfers byte data from src address to dst address for cnt times. Transfer amount is cnt buy . Transfer is performed in channel 0, cycle steal mode, without end interrupt. : When the destination address is work RAM, it eliminates inconsistencies with the cache. Destination area is purged after transfer. There are no restrictions on address address.

  Title  
Function specifications
  Function  
Data transfer (in words)
  Function name  
DMA_CpuMemCopy2
No
4
 
format void DMA_CpuMemCopy2 (void * dst, void * src, Uint32 cnt) Input * dst; Destination address * src; source address c cnt; Number of transfers (0-16777215) 0x00000001 1 time 0x00ffffff 16777215 times 0x00000000 16777216 times Output None Function value None Function Transfers word data from the src address to the dst address for the number of cnt times. Transfer amount is cnt * 2 It is . Transfer is performed in channel 0, cycle steal mode, without end interrupt. : When the destination address is work RAM, it eliminates inconsistencies with the cache. Destination area is purged after transfer. The address must be a word boundary.


Return to previous page Return to menu Go to next page