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.
Содержание SG-Lock
Страница 2: ......
Страница 22: ......
Страница 60: ......
Страница 62: ...56 Chapter 7 Technical Data Notes ...
Страница 63: ...Chapter 7 Technical Data 57 ...