Mmc_Devicedriver::setbuffermemory - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_DeviceDriver::SetBufferMemory

Sets any given data to any given address of the buffer memory.
unsigned long SetBufferMemory(
unsigned long offset,
unsigned long size,
const void *data
);
Detailed description
■Parameter
Argument
offset [in]
size [in]
data [in]
■Return value
Value
MMC_OK
MMERR_DEV_UNOPEN
MMERR_ARGUMENT_0
=1 to 9: Argument location
MMERR_DEV_ADDRESS_RANGE_OVER
■Point
None.
■Supported version
API version
1.00
■Reference
GetBufferMemory (Page 101 MMC_DeviceDriver::GetBufferMemory)
3 API LIBRARY DETAILS (BASIC FUNCTIONS)
100
3.6 MMC_DeviceDriver Class
Description
Address offset (2-byte units) from the buffer memory top address
Size (2-byte units) from the address offset
Pointer to the variable that stores set data
Description
Function succeeded
The Open method of the device driver class has not been called.
The argument is outside the set range.
The "offset" + "size" designated by the argument exceeds the size of the buffer memory.
Software version
01

Advertisement

Table of Contents
loading

Table of Contents