| 数据搜索系统,热门电子元器件搜索 |
|
ZUSBOPTSC01ZAC 数据表(PDF) 197 Page - Zilog, Inc. |
|
|
|||||||||||||||||||||||||||||
ZUSBOPTSC01ZAC 数据表(HTML) 197 Page - Zilog, Inc. |
|
197 / 402 page ![]() PS024604-1005 P R E L I M I N A R Y Master Transactions Z8FMC16100 Series Flash MCU Product Specification 175 7. The I2C slave acknowledges the address by pulling the SDA signal Low during the next high period of SCL. If the slave does not acknowledge the address byte, the I2C controller sets the NCKI bit in the I2C Status Register, sets the ACKV bit, and clears the ACK bit in the I2C State Register. The software responds to the Not Acknowledge interrupt by setting the STOP bit and clearing the TXI bit. The I2C controller flushes the Transmit Data Register, sends a STOP condition on the bus, and clears the STOP and NCKI bits. The transaction is complete, and the following steps can be ignored. 8. The I2C controller shifts in the first byte of data from the I2C slave on the SDA signal. 9. The I2C controller asserts the receive interrupt. 10. The software responds by reading the I2C Data Register. If the next data byte is to be the final byte, the software must set the NAK bit of the I2C Control Register. 11. The I2C controller sends a Not Acknowledge to the I2C slave if the next byte is the final byte; otherwise, it sends an Acknowledge. 12. If there are more bytes to transfer, the I2C controller returns to Step 7. 13. A NAK interrupt (NCKI bit in I2CISTAT) is generated by the I2C controller. 14. The software responds by setting the STOP bit of the I2C Control Register. 15. A STOP condition is sent to the I2C slave. Master Read Transaction with a 10-Bit Address Figure 31 illustrates the read transaction format for a 10-bit addressed slave. The first seven bits transmitted in the first byte are 11110XX. The two XX bits are the two most-significant bits of the 10-bit address. The lowest bit of the first byte transferred is the write control bit. The data transfer procedure for a Read operation to a 10-bit addressed slave is as follows: 1. The software initializes the MODE field in the I2C Mode Register for MASTER/ SLAVE mode with 7- or 10-bit addressing (the I2C bus protocol allows the mixing of slave address types). The MODE field selects the address width for this mode when addressed as a slave (but not for the remote slave). The software asserts the IEN bit in the I2C Control Register. 2. The software writes 11110b, followed by the two most-significant address bits and a 0 (write) to the I2C Data Register. S Slave Address 1st Byte W=0 A Slave Address 2nd Byte A S Slave Address 1st Byte R=1 A Data AData A P Figure 31. Data Transfer Format—Master Read Transaction with a 10-Bit Address |
|
链接网址 |
| 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 |