SPI Programming Manual (G06.24+, H06.03+, J06.03+)

SPI Internal Structures
SPI Programming Manual427506-006
C-7
Token-Map Structure
UNSIGNED(1) Z^EXTENDED; ! True if extended-
! format token code
UNSIGNED(7) Z^DATATYPE; ! Token data type
UNSIGNED(8) Z^BYTELEN; ! Token length
INT Z^NUMBER; ! Token number
END;
STRUCT Z^TKN^SSID; ! Optional subsystem ID
BEGIN
INT Z^SSOWNER[0:3];
INT Z^SSNUM;
INT Z^SSVERSION;
END;
END;
END;
This table header is followed by Z^TBL^COUNT values of the type associated with
Z^TBL^TKN. (See Figure C-4
on page C-6.) Fixed-length string values are aligned on
byte boundaries; all other types of values are aligned on word boundaries.
Token-Map Structure
Token maps are used to describe version and null-value information for the values of
extensible structured tokens. The format of a token map and its associated token value
are shown in Figure C-5
.
The token map contains:
A token type of ZSPI-TYP-MAP (consisting of the token data type ZSPI-TDT-MAP
and the token length 255)
A subsystem-defined token number
The byte length of the structure and its base version number (the version of the
first field in the structure)
Figure C-5. Token Map and Its Token Value
----
VST027.vsd
...
TDT MAP 255 Token Number Byte Length
Byte Length
----
Extensible Sturcture
Token
Map
Token
Value
Byte 0 1
2 3 4 5 6