eUSCI_B I2C Registers
855
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
Enhanced Universal Serial Communication Interface (eUSCI) – I
2
C Mode
32.4.13 UCBxADDMASK Register
eUSCI_Bx I2C Address Mask Register
Figure 32-29. UCBxADDMASK Register
15
14
13
12
11
10
9
8
Reserved
ADDMASKx
r-0
r0
r0
r0
r0
r0
rw-1
rw-1
7
6
5
4
3
2
1
0
ADDMASKx
rw-1
rw-1
rw-1
rw-1
rw-1
rw-1
rw-1
rw-1
Can be modified only when UCSWRST = 1.
Table 32-16. UCBxADDMASK Register Description
Bit
Field
Type
Reset
Description
15-10
Reserved
R
0h
Reserved
9-0
ADDMASKx
RW
3FFh
Address Mask Register. By clearing the corresponding bit of the own address,
this bit is a don't care when comparing the address on the bus to the own
address. Using this method, it is possible to react on more than one slave
address. When all bits of ADDMASKx are set, the address mask feature is
deactivated.
Modify only when UCSWRST = 1.
32.4.14 UCBxI2CSA Register
eUSCI_Bx I2C Slave Address Register
Figure 32-30. UCBxI2CSA Register
15
14
13
12
11
10
9
8
Reserved
I2CSAx
r-0
r0
r0
r0
r0
r0
rw-0
rw-0
7
6
5
4
3
2
1
0
I2CSAx
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
Table 32-17. UCBxI2CSA Register Description
Bit
Field
Type
Reset
Description
15-10
Reserved
R
0h
Reserved
9-0
I2CSAx
RW
0h
I2C slave address. The I2CSAx bits contain the slave address of the external
device to be addressed by the eUSCIx_B module. It is only used in master
mode. The address is right justified. In 7-bit slave addressing mode, bit 6 is the
MSB and bits 9-7 are ignored. In 10-bit slave addressing mode, bit 9 is the MSB.