Datasheet
www.ti.com
I2C Control Registers
30.6.20 I2C Data Output Register (I2CDOUT)
This register contains the values sent to the I2C pins. Figure 30-33 and Table 30-29 describe this register.
Figure 30-33. I2C Data Output Register (I2CDOUT) [offset 0x54]
15 2 1 0
Reserved SDAOUT SCLOUT
R-0 R/W-0 R/W-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 30-29. I2C Data Output Register (I2CDOUT) Field Descriptions
Bit Field Value Description
15-2 Reserved 0 Read returns 0. Writes have no effect.
1 SDAOUT SDA Data Output
This function is only active if the SDA pin is configured as an I/O pin with PINFUNC = 1. This bit
contains the value sent to the SDA pin.
0 The pin is driven low.
1 The pin is driven high.
0 SCLOUT SCL Data Output
This function is only active if the SCL pin is configured as an I/O pin with PINFUNC = 1. This bit
contains the value sent to the SCL pin.
0 The pin is driven low.
1 The pin is driven high.
30.6.21 I2C Data Set Register (I2CDSET)
The I2CDSET register is an alias of the I2CDOUT register. When written to at this address, writing a 1 to
a bit sets the corresponding bit in I2CDOUT to a 1, while writing a 0 leaves it unchanged. Figure 30-34
and Table 30-30 describe this register.
Figure 30-34. I2C Data Set Register (I2CDSET) [offset = 58h]
15 2 1 0
Reserved SDASET SCLSET
R-0 R/W-0 R/W-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 30-30. I2C Data Set Register (I2CDSET) Field Description
Bit Field Value Description
15-2 Reserved 0 Read returns 0. Writes have no effect.
1 SDASET Serial Data Set
This bit is used to set the SDA GPIO pin.
0 Read: Reads return value of SDAOUT.
Write: No effect.
1 Read: Reads return value of SDAOUT.
Write: SDAOUT is set to logic high (1).
0 SCLSET Serial Clock Set
This bit is used to set the SCL GPIO pin.
0 Read: Reads return value of SCLOUT.
Write: No effect.
1 Read: Reads return value of SCLOUT.
Write: SCLOUT is set to logic high (1).
1519
SPNU562–May 2014 Inter-Integrated Circuit (I2C) Module
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated