| 数据搜索系统,热门电子元器件搜索 |
|
STBC21 数据表(PDF) 27 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STBC21 数据表(HTML) 27 Page - STMicroelectronics |
|
27 / 54 page ![]() STBC21 Detailed description Doc ID 023256 Rev 1 27/54 Example: Read data from Reg 12H (charger status register) in order to know the status of the charger. The I²C interface also performs sequential write and sequential read in order to write/read all the STBC21STBC21 registers in a single step. An internal pointer starts from the first addressed register and then returns to the first internal address (00H) when it has achieved the last internal address (17H). 5.10.1 Sequential registers write: S 6BH 0 A 00000001 A xx011001 A/An P Table 9. Read single register S SLAVE ADDRESS R/W A REGISTER ADDRESS A SEND DATA A/An P Master Slave (STBC21) S = START condition (from Master to STBC21) SLAVE ADDRESS= 6BH R/W = '0' Write / '1' Read A = Acknowledge (SDA low from STBC21) REGISTER ADDRESS = From 00H to 17H (8 bits from MSB to LSB) SEND DATA = 8 bits data coming from internal addressed Register of STBC21 (from MSB to LSB) A/An = Acknowledge/Not Acknowledge (SDA left high from Master) P = STOP condition (from Master to STBC21) S 6BH 1 A 00010010 A xxxxxxxx A/An P S SLAVE ADDRESS R/W (0) A REGISTER ADDRESS ADATA (Regx)A DATA (Regx+1).. A/An P Master Slave (STBC21) S = START condition (from Master to STBC21) SLAVE ADDRESS= 6BH R/W = '0' Write / '1' Read A = Acknowledge (SDA low from STBC21) REGIST. ADDR. = First Register address (8 bits from 00H to 17H and from MSB to LSB) DATA (Regx) = 8 bits data of the first addressed register (from MSB to LSB) DATA (Regx+1) = 8 bits data of the next addressed register (from MSB to LSB) A/An = Acknowledge/Not Acknowledge (SDA left high from STBC21) P = STOP condition (from Master to STBC21) |
|
链接网址 |
| 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 |