eUSCI_B I2C Registers
982
SLAU356I – March 2015 – Revised June 2019
Copyright © 2015–2019, Texas Instruments Incorporated
Enhanced Universal Serial Communication Interface (eUSCI) – I
2
C Mode
26.4.3 UCBxBRW Register
eUSCI_Bx Bit Rate Control Word Register
Figure 26-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
Modify only when UCSWRST = 1.
Table 26-6. UCBxBRW Register Description
Bit
Field
Type
Reset
Description
15-0
UCBRx
RW
0h
Bit clock prescaler.
Modify only when UCSWRST = 1.
26.4.4 UCBxSTATW
eUSCI_Bx Status Word Register
Figure 26-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 26-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 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