| 数据搜索系统,热门电子元器件搜索 |
|
ST92F120JR9T 数据表(PDF) 222 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST92F120JR9T 数据表(HTML) 222 Page - STMicroelectronics |
|
222 / 320 page ![]() 222/320 I2C BUS INTERFACE I2C INTERFACE (Cont’d) Figure 105. I2C Interface Block Diagram 10.7.3 Functional Description Refer to the I2CCR, I2CSR1 and I2CSR2 registers in Section 10.7.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 (SDAI) and a clock pin (SCLI) which must be configured as open drain when the I 2C 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 SDAI and SCLI 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 REGISTE R DATA SHIFT REGISTER COMPARA TOR OWN ADDRESS REGISTER 2 CLOCK CONTRO L REGIS TER STATUS REGISTE R 1 CONTRO L REGISTE R CONTROL DATA CLOCK CONTROL SDAI SCLI LOGIC AND INTERRUPT/ DMA REGIS TERS GENERAL CALL ADDRESS STATUS REGISTE R 2 DMA DATA BUS CONTROL SIGNALS INTERRUPT VR02119A SDA SCL OWN ADDRES S REGISTE R 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 |