Remote Control Programming User’s Guide
PM024A02 Rev.2
78
MSPPRG_API INT_X F_Copy_Buffer_to_XRAM( INT_X start_address, INT_X size );
Parameters:
start address
- physical XRAM address 0xDF00 to 0xFFFF
size
- size in bytes
Return value:
0 - FALSE
1 - TRUE
NOTE:
Specified address in the temporary XRAM/Flash buffer is the same as a physical
XRAM address.
Example:
....................
....................
for( addr = 0xF220; addr<0xF300; addr++ )
st = F_Put_Byte_To_Buffer( addr, data[addr] );
st = F_Copy_Buffer_to_XRAM( 0xF220, 0xE0 );
....................
F_Copy_XRAM_to_Buffer
F_Copy_XRAM_to_Buffer
- Read specified in “size” number of bytes from the XRAM and save
it in the temporary buffer. Starting address is specified in the “start
address”
.
VALID FPA index
- ( 1 to 8 ) or 0 (ALL FPAs) executed sequentially.
Syntax:
MSPPRG_API
INT_X
F_Copy_XRAM_to_Buffer( INT_X start_address,
INT_X size );
Parameters:
start address
- physical XRAM address 0xDF00 to 0xFFFF
size
- size in bytes
Return value:
0 - FALSE
1 - TRUE
Summary of Contents for FlashPro-CC
Page 10: ...10...