| 数据搜索系统,热门电子元器件搜索 |
|
STCF06 数据表(PDF) 20 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STCF06 数据表(HTML) 20 Page - STMicroelectronics |
|
20 / 33 page ![]() I²C bus interface STCF06 20/33 The Register address byte determines the first register in which the read or write operation takes place. When the read or write operation is finished, the register address is automatically increased. 8.7 Writing to multiple registers with incremental addressing It would be unpractical to send several times the device address and the address of the register when writing to multiple registers. STCF06 supports writing to multiple registers with incremental addressing. When the data is written to a register, the address register is automatically increased, so the next data can be sent without sending the device address and the register address again. See Figure 9 below. 8.8 Reading from a single register The reading operation starts with a START bit followed by the 7 bit device address of STCF06. The 8th bit is the R/W bit, which is 0 in this case. STCF06 confirms the receiving of the address + R/W bit by an acknowledge pulse. The address of the register which should be read is sent afterwards and confirmed again by an acknowledge pulse of STCF06 again. Then the master generates a START bit again and sends the device address followed by the R/W bit, which is 1 now. STCF06 confirms the receiving 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 10 Figure 9. Writing to multiple register with incremental addressing 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 |
|
链接网址 |
| 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 |