| 数据搜索系统,热门电子元器件搜索 |
|
STC3117 数据表(PDF) 21 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STC3117 数据表(HTML) 21 Page - STMicroelectronics |
|
21 / 34 page ![]() DocID025792 Rev 2 21/34 STC3117 I2C interface 34 7 I2C interface 7.1 Read and write operations The I2C interface is used to control and read the current accumulator and registers. It is compatible with the Philips I2C Bus® (version 2.1). It is a slave serial interface with a serial data line (SDA) and a serial clock line (SCL). • SCL: input clock used to shift data • SDA: input/output bidirectional data transfers A filter rejects the potential spikes on the bus data line to preserve data integrity. The bidirectional data line supports transfers up to 400 Kbit/s (fast mode). The data are shifted to and from the chip on the SDA line, MSB first. The first bit must be high (START) followed by the 7-bit device address and the read/write control bit. The default device address value is 1110 000. The STC3117 then sends an acknowledge at the end of an 8-bit long sequence. The next eight bits correspond to the register address followed by another acknowledge. The data field is the last 8-bit long sequence sent, followed by a final acknowledge. Figure 11. Read operation Table 8. Device address format bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 111 000 0 R/W Table 9. Register address format bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 RegADDR7 RegADDR6 RegADDR5 RegADDR4 RegADDR3 RegADDR2 RegADDR1 RegADDR0 Table 10. Register data format bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0 |
|
链接网址 |
| 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 |