eUSCI_B I2C Registers
849
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
Enhanced Universal Serial Communication Interface (eUSCI) – I
2
C Mode
32.4.3 UCBxBRW Register
eUSCI_Bx Bit Rate Control Word Register
Figure 32-19. UCBxBRW Register
15
14
13
12
11
10
9
8
UCBRx
rw
rw
rw
rw
rw
rw
rw
rw
7
6
5
4
3
2
1
0
UCBRx
rw
rw
rw
rw
rw
rw
rw
rw
Can be modified only when UCSWRST = 1.
Table 32-6. UCBxBRW Register Description
Bit
Field
Type
Reset
Description
15-0
UCBRx
RW
0h
Bit clock prescaler.
Modify only when UCSWRST = 1.
32.4.4 UCBxSTATW
eUSCI_Bx Status Word Register
Figure 32-20. UCBxSTATW Register
15
14
13
12
11
10
9
8
UCBCNTx
r-0
r-0
r-0
r-0
r-0
r-0
r-0
r-0
7
6
5
4
3
2
1
0
Reserved
UCSCLLOW
UCGC
UCBBUSY
Reserved
r0
r-0
r-0
r-0
r-0
r0
r0
r0
Table 32-7. UCBxSTATW Register Description
Bit
Field
Type
Reset
Description
15-8
UCBCNTx
R
0h
Hardware byte counter value. Reading this register returns the number of bytes
received or transmitted on the I2C-Bus since the last START or RESTART.
There is no synchronization of this register done. When reading UCBxBCNT
during the first bit position, a faulty read back can occur.
7
Reserved
R
0h
Reserved
6
UCSCLLOW
R
0h
SCL low
0b = SCL is not held low
1b = SCL is held low
5
UCGC
R
0h
General call address received. UCGC is automatically cleared when a START
condition is received.
0b = No general call address received
1b = General call address received
4
UCBBUSY
R
0h
Bus busy
0b = Bus inactive
1b = Bus busy
3-0
Reserved
R
0h
Reserved