Acrosser AR-B104D User Manual
Page 12

AR-B104D Software Programming Guide
8
This function is used to read memory with a specified length.
♦
Syntax
XXX_ReadMem_Block (i16 CardNum, u32 Offset, u8* Buffer, u32 Size)
♦
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
Offset: SRAM offset to read
Buffer: The start address of memory buffer to put SRAM data.
Size: The memory block size (in byte) to read.
2.2.9 WriteMemBlock
♦
Description
This function is used to write data to memory with a specified length.
♦
Syntax
XXX_WriteMem_Block (i16 CardNum, u32 Offset, u8* Buffer, u32 Size)
♦
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
Offset: SRAM offset to write
Buffer: The start address of data buffer to write to SRAM.
Size: The memory block size (in byte) to write.