Chapter 4: SG-Lock API
23
4.3.2 Function: SglWriteData
Description
Writes 32-bit data values to SG-Lock memory.
Types
U2:
-
U3:
U4:
Declaration
ULONG S g l W r i t e D a t a (
ULONG P r o d u c t I d ,
ULONG A d d r e s s ,
ULONG Count ,
ULONG * Data ) ;
Parameters
ProductId
Indicates the ProductId of the SG-Lock
Address
Startaddress of data value block
0 to 63 - SG-Lock U3
0 to 255 - SG-Lock U4
Count
Number of data values
Data
Pointer to data array, where data values be copied
from. (The developer is responsible to provide an
array with a sufficient size).
Return values
SGL_SUCCESS
Data values succesfully written to
SG-Lock memory
SGL_DGL_NOT_FOUND
SG-Lock not found
The full list of return codes is listed in chapter 4.6.
Summary of Contents for SG-Lock
Page 2: ......
Page 22: ......
Page 60: ......
Page 62: ...56 Chapter 7 Technical Data Notes ...
Page 63: ...Chapter 7 Technical Data 57 ...