Mmc_Devicedriver::getbuffermemory - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_DeviceDriver::GetBufferMemory

Gets set data from any given address of the buffer memory.
unsigned long GetBufferMemory(
unsigned long offset,
unsigned long size,
void *data
);
Detailed description
■Parameter
Argument
offset [in]
size [in]
data [out]
■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
SetBufferMemory (Page 100 MMC_DeviceDriver::SetBufferMemory)
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 gotten 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
3 API LIBRARY DETAILS (BASIC FUNCTIONS)
3.6 MMC_DeviceDriver Class
3
101

Advertisement

Table of Contents
loading

Table of Contents