I2C Control Registers
1394
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
Inter-Integrated Circuit (I2C) Module
27.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 that terminates the transfer after the
counter reaches zero.
and
describe this register.
Figure 27-18. I2C Data Count Register (I2CCNT) [offset = 14h]
15
0
CNT
R/W-0
LEGEND: R/W = Read/Write; -
n
= value after reset
Table 27-10. I2C Data Count Register (I2CCNT) Field Descriptions
Bit
Field
Value
Description
15-0
CNT
0-FFFFh
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.
27.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.
and
describe this register.
Figure 27-19. I2C Data Receive Register (I2CDRR) [offset = 18h]
15
8
7
0
Reserved
DATARX
R-0
R-0
LEGEND: R = Read only; -
n
= value after reset
Table 27-11. I2C Data Receive Register (I2CDRR) Field Descriptions
Bit
Field
Value
Description
15-8
Reserved
0
Reads return 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.