22
Chapter 4: SG-Lock API
4.3 Extended Function
4.3.1 Function: SglReadData
Description
Read 32-bit data from the SG-Lock memory.
Types
U2:
-
U3:
U4:
Declaration
ULONG S g l R e a d 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
Startadress 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, in which the data values will
be givenback to the calling application. (The de-
veloper is responsible to provide an array with a
sufficient size).
Return values
SGL_SUCCESS
Data values successfully read
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 ...