| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN2827 bảng dữ liệu(PDF) 21 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2827 bảng dữ liệu(HTML) 21 Page - STMicroelectronics |
|
21 / 30 page ![]() AN2827 Reading and writing to the STCF05 registers through the I²C bus Doc ID 15047 Rev 1 21/30 7.3 Reading from a single register The reading operation starts with a START bit followed by the 7-bit device address of the STCF05. The 8th bit is the R/W bit, which is 0 in this case. The STCF05 confirms the receiving of the address + R/W bit by an acknowledge pulse. The address of the register which should be read is then sent and confirmed by another acknowledge pulse from the STCF05. The master then generates another START bit and sends the device address followed by the R/W-bit, which is now 1. The STCF05 confirms the receiving of the address + R/W-bit by an acknowledge pulse, and starts to send data to the master. No acknowledge pulse from the master is required after receiving the data. The master then generates a STOP bit to terminate the communication. Figure 16. Writing to multiple register S T A R T DEVICE ADDRESS 7 bits A C K W R I T E M S B L S B R / W A C K ADDRESS OF REGISTER i DATA i A C K A C K S T O P M S B M S B L S B L S B DATA i+1 A C K L S B DATA i+2 A C K L S B DATA i+2 L S B DATA i+n A C K M S B M S B M S B M S B M S B A C K L S B SDA LINE S T A R T DEVICE ADDRESS 7 bits A C K W R I T E M S B L S B R / W A C K ADDRESS OF REGISTER i DATA i A C K A C K S T O P M S B M S B L S B L S B DATA i+1 A C K L S B DATA i+2 A C K L S B DATA i+2 L S B DATA i+n A C K M S B M S B M S B M S B M S B A C K L S B S T A R T DEVICE ADDRESS 7 bits A C K W R I T E M S B L S B R / W A C K ADDRESS OF REGISTER i DATA i A C K A C K S T O P M S B M S B L S B L S B DATA i+1 A C K L S B DATA i+2 A C K L S B DATA i+2 L S B DATA i+n A C K M S B M S B M S B M S B M S B A C K L S B SDA LINE Figure 17. Reading from a single register S T A R T DEVICE ADDRESS 7 bits A C K W R I T E M S B L S B R / W ADDRESS OF REGISTER A C K M S B L S B S T A R T A C K R / W R E A D DEVICE ADDRESS 7 bits DATA L S B S T O P N O A C K SDA LINE S T A R T DEVICE ADDRESS 7 bits A C K W R I T E M S B L S B R / W ADDRESS OF REGISTER A C K M S B L S B S T A R T A C K R / W R E A D DEVICE ADDRESS 7 bits DATA L S B S T O P N O A C K SDA LINE |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |