| 数据搜索系统,热门电子元器件搜索 |
|
VL6524 数据表(PDF) 39 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
VL6524 数据表(HTML) 39 Page - STMicroelectronics |
|
39 / 70 page ![]() VL6524/VS6524 Host communication - I²C control interface 39/70 Random location, single data read When a location is to be read, but the value of the stored index is not known, a write message with no data byte must be written first, specifying the index. The read message then completes the message sequence. To avoid relinquishing the serial to bus to another master a repeated start condition is asserted between the write and read messages. As mentioned in the previous example, the read message is terminated with a negative acknowledge (A) from the master. Figure 27. Random location, single data read Multiple location write For messages with more than 1 data byte the internal register index is automatically incremented for each byte of data output, making it possible to write data bytes to consecutive adjacent internal registers without having to send explicit indexes prior to sending each data byte. Figure 28. Multiple location write ‘0’ (Write) S DEV ADDR R/W A DATA A DATA A INDEX[7:0] INDEX[15:0] value, M INDEX[15:8] DATA DATA[7:0] DATA[7:0] Sr DEV ADDR R/W A ‘1’ (Read) P A Previous Index Value, K Index M No Data Write Data Read 16-bit Index, 8-bit data random index, single data read A = Acknowledge A = Negative Acknowledge S = START Condition Sr = repeated START P = STOP Condition From Slave to Master From Master to Slave ‘0’ (Write) S DEV ADDR R/W A DATA P A/A DATA A DATA A INDEX[7:0] DATA[7:0] INDEX[15:0] value, M DATA[7:0] INDEX[15:8] DATA A DATA[7:0] DATA[7:0] N Bytes of Data Previous Index Value, K Index M Index (M + N - 1) 16-bit index, 8-bit data multiple location write A = Acknowledge A = Negative Acknowledge S = START Condition Sr = repeated START P = STOP Condition From Slave to Master From Master to Slave |
|
链接网址 |
| 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 |