
VS6724
Programming model and register description
51/118
4.2
Register description
4.2.1
Register interpreter
Register contents represent different data types as described in
Register naming prefix
.
Table 6.
Registers not listed in this datasheet should be considered as reserved or read-only should
NOT be written to, as this may cause unpredictable results.
The VS6724 I2C write address is 0x20.
All I2C locations contain an 8-bit byte. However, certain parameters require 16 bits to
represent them and are therefore stored in more than 1 location.
Note:
For all 16 bit parameters the MSB register must be written before the LSB register.
The data stored in each location can be interpreted in different ways as shown below.
Register contents represent different data types as described in
Table 7
.
Table 7.
Float number format
Float 900 is used in ST co-processors to represent floating point numbers in 2 bytes of data.
It conforms to the following structure:
Bit[15] = Sign bit (1 represents negative)
Bit[14:9] = 6 bits of exponent, biased at decimal 31
Bit[8:0] = 9 bits of mantissa
Register naming prefix
Prefix
Description
VP_BYTE = ub
One Byte unsigned data
VP_UINT16 = uw
Two Byte unsigned data
Flag_e(F) = f
One byte data. Only two possible values
Enum = e
One Byte data. Specific to module
VP_FLOAT = fl
Two byte data. Expect value in Floating Point 16 notation
VP_INT8 = sb
One Byte signed data
Data type
Data type
Description
BYTE
Single field register 8 bit parameter
UINT_16
Multiple field registers - 16 bit parameter
FLAG_e
Bit 0 of register must be set/cleared
CODED
Coded register - function depends on value written
FLOAT
Float Value