| 数据搜索系统,热门电子元器件搜索 |
|
ST92F124 数据表(PDF) 263 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST92F124 数据表(HTML) 263 Page - STMicroelectronics |
|
263 / 429 page ![]() 263/429 I2C BUS INTERFACE I2C BUS INTERFACE (Cont’d) Figure 126. I2C Interface Block Diagram 10.8.3 Functional Description Refer to the I2CCR, I2CSR1 and I2CSR2 registers in Section 10.8.7. for the bit definitions. The I2C interface works as an I/O interface between the ST9 microcontroller and the I2C bus protocol. In addition to receiving and transmitting data, the interface converts data from serial to parallel format and vice versa using an interrupt or polled handshake. It operates in Multimaster/slave I2C mode. The se- lection of the operating mode is made by software. The I2C interface is connected to the I2C bus by a data pin (SDA) and a clock pin (SCL) which must be configured as open drain when the I2C cell is enabled by programming the I/O port bits and the PE bit in the I2CCR register. In this case, the value of the external pull-up resistance used depends on the application. When the I2C cell is disabled, the SDA and SCL ports revert to being standard I/O port pins. The I2C interface has sixteen internal registers. Six of them are used for initialization: – Own Address Registers I2COAR1, I2COAR2 – General Call Address Register I2CADR – Clock Control Registers I2CCCR, I2CECCR – Control register I2CCR The following four registers are used during data transmission/reception: – Data Register I2CDR – Control Register I2CCR – Status Register 1 I2CSR1 – Status Register 2 I2CSR2 DATA REGISTER DATA SHIFT REGISTER COMPARATOR OWN ADDRESS REGISTER 2 CLOCK CONTROL REGISTER STATUS REGISTER 1 CONTROL REGISTER CONTROL DATA CLOCK CONTROL LOGIC AND INTERRUPT/DMA REGISTERS GENERAL CALL ADDRESS STATUS REGISTER 2 DMA DATA BUS CONTROL SIGNALS INTERRUPT VR02119A SDA SCL OWN ADDRESS REGISTER 1 9 |
|
链接网址 |
| 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 |