| поискавой системы для электроныых деталей |
|
TUSB5052PZ датащи(PDF) 67 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TUSB5052PZ датащи(HTML) 67 Page - Texas Instruments |
|
67 / 82 page ![]() 10−1 10 I2C Port 10.1 I2C Registers 10.1.1 I2CSTA: I2C Status and Control Register This register is used to control the stop condition for read and write operations. In addition, it provides transmitter and receiver handshake signals with their respective interrupt-enable bits. RxF RIE ERR 1/4 TxE TIE SRD SWR 7 6 5 4 32 10 R/W R/W R/C R/W R/O R/W R/W R/W BIT NAME RESET FUNCTION 0 SWR 0 Stop write condition. This bit determines if the I2C controller generates a stop condition when data from the I2CDAO register are transmitted to an external device. SWR = 0 Stop condition is not generated when data from the I2CDAO register are shifted out to an external device. SWR = 1 Stop condition is generated when data from the I2CDAO register are shifted out to an external device. 1 SRD 0 Stop read condition. This bit determines if the I2C controller generates a stop condition when data are received and loaded into the I2CDAI register. SRD = 0 Stop condition is not generated when data from SDA line is shifted into I2CDAI register. SRD = 1 Stop condition is generated when data from SDA line are shifted into I2CDAI register. 2 TIE 0 I2C transmitter empty interrupt enable. TIE = 0 Interrupt disable TIE = 1 Interrupt enable 3 TxE 1 I2C transmitter empty. This bit indicates that data can be written to the transmitter. It can be used for polling or it can generate an interrupt. TxE = 0 Transmitter is full. This bit is cleared when the MCU writes a byte to the I2CDAO register. TxE = 1 Transmitter is empty. The I2C controller sets this bit when the contents of the I2CDAO register are copied to the SDA shift register. 4 1/4 0 Bus speed selection. 1/4 = 0 100-kHz bus speed 1/4 = 1 400-kHz bus speed 5 ERR 0 Bus error condition. This bit is set by the hardware when the device does not respond. It is cleared by the MCU. ERR = 0 No bus error ERR = 1 Bus error condition has been detected. Clears when the MCU writes a 1. Writing a 0 has no effect. 6 RIE 0 I2C receiver ready interrupt enable. RIE = 0 Interrupt disable RIE = 1 Interrupt enable 7 RxF 0 I2C receiver full. This bit indicates that the receiver contains new data. It can be used for polling or it can generate an interrupt. RxF = 0 Receiver is empty. This bit is cleared when the MCU reads the I2CDAI register. RxF = 1 Receiver contains new data. This bit is set by the I2C controller when the received serial data has been loaded into the I2CDAI register. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |