| 数据搜索系统,热门电子元器件搜索 |
|
STCF04 数据表(PDF) 21 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STCF04 数据表(HTML) 21 Page - STMicroelectronics |
|
21 / 43 page ![]() STCF04 Detailed description Doc ID 022927 Rev 3 21/43 8.1.15 Reading from a single register The reading operation starts with a START bit followed by the 7-bit device address of the STCF04. The 8th bit is the R/W bit, which is 0 in this case. The STCF04 confirms receipt of the address + R/W bit by an acknowledge pulse. The address of the register that should be read is sent afterwards and confirmed again by an acknowledge pulse of the STCF04 again. Then the master generates a START bit again and sends the device address followed by the R/W bit, which is now 1. The STCF04 confirms receipt of the address + R/W bit by an acknowledge pulse and starts to send the data to the master. No acknowledge pulse from the master is required after receiving the data. Then the master generates a STOP bit to terminate the communication. See Figure 11. 8.1.16 Reading from multiple registers with incremental addressing Reading from multiple registers starts in the same way as reading from a single register. As soon as the first register is read, the register address is automatically incremented. If the master generates an acknowledge pulse after receiving the data from the first register, then reading of the next register can start immediately without sending the device address and the register address again. The last acknowledge pulse before the STOP bit is not required. See Figure 12. Figure 10. Writing to multiple registers with incremental addressing AM11864v1 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 11. Reading from a single register AM11865v1 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 |
|
链接网址 |
| 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 |