| 数据搜索系统,热门电子元器件搜索 |
|
STCF04 数据表(PDF) 20 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STCF04 数据表(HTML) 20 Page - STMicroelectronics |
|
20 / 43 page ![]() Detailed description STCF04 20/43 Doc ID 022927 Rev 3 - A sequence of data n* (1 byte + acknowledge) - A STOP condition (STOP) 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 incremented. 8.1.13 Writing to a single register Writing to a single register 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. R/W = 1 means a reading operation. The master then waits for an acknowledgement from the STCF04. The 8-bit register address is then sent to the STCF04. It is also followed by an acknowledge pulse. The last transmitted byte is the data to be written to the register. It is again followed by an acknowledge pulse from the STCF04. The master then generates a STOP bit and the communication is over. See Figure 9 below. Figure 9. Writing to a single register 8.1.14 Writing to multiple registers with incremental addressing It would be impractical to send the device address and the address of the register when writing to multiple registers several times. The STCF04 supports writing to multiple registers with incremental addressing. When data is written to a register, the address register is automatically incremented, so the next data can be sent without sending the device address and the register address again. See Figure 10 below. Table 8. Interface protocol Device address + R/W bit Register address Data 765 4 3210 76 5 4 321 0 765 4 3210 S T A R T M S B L S B R W A C K M S B L S B A C K M S B L S B A C K S T O P 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 DATA A C K A C K S T O P M S B M S B L S B L S B SDA LINE AM11863v1 |
|
链接网址 |
| 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 |