EasyManua.ls Logo

Bridgetek FT801 - CMD_MEMCPY - Copy a Block of Memory

Default Icon
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
169
Product Page
Document Feedback Copyright © Bridgetek Limited
5.24 CMD_MEMCPY - copy a block of memory
C prototype
void cmd_memcpy( uint32_t dest,
uint32_t src,
uint32_t num );
Parameters
dest
address of the destination memory block
src
address of the source memory block
num
number of bytes to copy
The completion of this function is detected when the value of REG_CMD_READ is
equal to REG_CMD_WRITE.
Command layout
+0
CMD_MEMCPY(0xffffff1d)
+4
dst
+8
src
+12
num
Examples
To copy 1K byte of memory from 0 to 0x8000:
cmd_memcpy(0x8000, 0, 1024);

Table of Contents