SLINEAR16 is based on 16-bit signed value as described in the following equation.
SLINEAR16 = M × 2-15
High Byte | Low Byte | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
M (16-bit, signed) |
The 8-bit data contains the 3-bit mode setting, 000b
for
linear, and a 5-bit exponent setting as shown in the following table. The three mode
bits must always be 000b
, and the 5-bit exponent is -14 for LINEAR16
and -15 for SLINEAR16.
Mode (linear) | Exponent (-14) | ||||||
---|---|---|---|---|---|---|---|
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 |