| 数据搜索系统,热门电子元器件搜索 |
|
STCF06 数据表(PDF) 19 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STCF06 数据表(HTML) 19 Page - STMicroelectronics |
|
19 / 33 page ![]() I²C bus interface STCF06 19/33 8.5 Writing to a single register Writing to a single register 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. R/W = 1 means a reading operation. Then the master waits for an acknowledge from STCF06. Then the 8 bit address of register is sent to STCF06. It is also followed by an acknowledge pulse. The last transmitted byte is the data that is going to be written to the register. It is again followed by an acknowledge pulse from STCF06. Then master generates a STOP bit and the communication is over. See Figure 8 below. 8.6 Interface protocol The interface protocol is composed: - A start condition (START) - A Device address + R/W bit (read =1 / write =0) - A Register address byte - A sequence of data n* (1 byte + acknowledge) - A stop condition (STOP) Table 8. Interface protocol Device address + R/W bit Register address Data 765 4 3 2 1 0 7 6 5 4 3210 765 4 321 0 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 Figure 8. Writing to 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 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 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 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 |
|
链接网址 |
| 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 |