| 전자부품 데이터시트 검색엔진 |
|
VS6524 데이터시트(PDF) 39 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
VS6524 데이터시트(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 |
|
링크 URL |
| 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 |