| 数据搜索系统,热门电子元器件搜索 |
|
VL6624 数据表(PDF) 45 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
VL6624 数据表(HTML) 45 Page - STMicroelectronics |
|
45 / 106 page ![]() VL6624/VS6624 Register map 45/106 11 Register map The VL6624/VS6624 I²C write address is 0x20. To read or write to registers other than those in Low level control registers section the device must be switched on, this is done by writing 0x02 to 0xC003. Information on initial power up for the device can be found in the Section 9: Getting started. All I²C 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 6. 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 To convert a floating point number to Float 900, use the following procedure: ● represent the number as a binary floating point number. Normalize the mantissa and calculate the exponent to give a binary scientific representation of 1.xxxxxxxxx * 2^y. ● The x symbols should represent 9 binary digits of the mantissa, round or pad with zeros to achieve 9 digits in total. Remove the leading 1 from the mantissa as it is redundant. ● To calculate the y value Bias the exponent by adding to 31 decimal then converting to binary. ● The data can then be placed in the structure above. Table 6. 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 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |