Datasheet

www.ti.com
I2C Control Registers
30.6.6 I2C Data Count Register (I2CCNT)
The I2C data count register is a 16-bit memory-mapped register used to count received or transmitted
data bytes. This register is also used to generate the STOP condition which terminates the transfer after
the counter reaches zero. Figure 30-18 and Table 30-10 describe this register.
Figure 30-18. I2C Data Count Register (I2CCNT) [offset = 14h]
15 0
CNT
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 30-10. I2C Data Count Register (I2CCNT) Field Descriptions
Bit Field Value Description
15-0 CNT Data counter
This down counter is used to generate a stop condition if a stop condition is specified (STP = 1).
Note: ICCNT is a don’t care when RM is set to 1.
0 The data counter is 65536.
1 The data counter is 1.
30.6.7 I2C Data Receive Register (I2CDRR)
The I2C data receive register is a 16-bit memory mapped register used by the device to read the received
data. Figure 30-19 and Table 30-11 describe this register.
Figure 30-19. I2C Data Receive Register (I2CDRR) [offset = 18h]
15 8 7 0
Reserved DATARX
R-0 R-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 30-11. I2C Data Receive Register (I2CDRR) Field Descriptions
Bit Field Value Description
15-8 Reserved 0 Read returns 0. Writes have no effect.
7-0 DATARX 0-FFh Receive data
A read from this register clears the RXRDY bit and clears code 4h from the I2CIVR register.
1509
SPNU562May 2014 Inter-Integrated Circuit (I2C) Module
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated