Acrosser AR-B104D User Manual
Page 11
AR-B104D Software Programming Guide
7
♦
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
Offset: SRAM offset to read
Value: Value to write to SRAM.
2.2.5 WriteMemWord
♦
Description
This function is used to write SRAM data in word alignment.
♦
Syntax
XXX_WriteMemWord (i16 CardNum, u32 Offset, u16 Value)
♦
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
Offset: SRAM offset to read (must in word alignment)
Value: Value to write to SRAM.
2.2.6 WriteMemDWord
♦
Description
This function is used to write SRAM data in double word alignment.
♦
Syntax
XXX_WriteMemDWord (i16 CardNum, u32 Offset, u32 Value)
♦
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
Offset: SRAM offset to read (must in double word alignment)
Value: Value to write to SRAM.
2.2.7 SwitchMemMode
♦
Description
This function is used to switch the memory mode.
♦
Syntax
XXX_SwitchMemMode (i16 CardNum, i16 Mode)
♦
Argument
CardNum: The number of AR-B104D. Range from 1~4.
Mode: SRAM Access Mode. 0 indicates “Independent Mode”; 1
indicates “Replicate Mode”.
2.2.8 ReadMemBlock
♦
Description