
GD32L23x User Manual
511
1: I2C_TDATA is empty and the I2C is ready to transmit data
0
TBE
I2C_TDATA is empty during transmitting
This bit is set by hardware when the I2C_TDATA register is empty. It is cleared
when the next data to be sent is written in the I2C_TDATA register. This bit can be
set by software in order to empty the I2C_TDATA register.
0: I2C_TDATA is not empty
1: I2C_TDATA is empty
21.4.8.
Status clear register (I2C_STATC)
Address offset: 0x1C
Reset value: 0x0000 0000
This register can be accessed by word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
SMBALT
C
TIMEOUT
C
PECERR
C
OUERRC
LOSTAR
BC
BERRC
Reserved
STPDET
C
NACKC
ADDSEN
DC
Reserved
w
w
w
w
w
w
w
w
w
Bits
Fields
Descriptions
31:14
Reserved
Must be kept at reset value.
13
SMBALTC
SMBus Alert flag clear.
Software can clear the SMBALT bit of I2C_STAT by writing 1 to this bit
12
TIMEOUTC
TIMEOUT flag clear.
Software can clear the TIMEOUT bit of I2C_STAT by writing 1 to this bit
11
PECERRC
PEC error flag clear.
Software can clear the PECERR bit of I2C_STAT by writing 1 to this bit
10
OUERRC
Overrun/Underrun flag clear.
Software can clear the OUERR bit of I2C_STAT by writing 1 to this bit
9
LOSTARBC
Arbitration Lost flag clear.
Software can clear the LOSTARB bit of I2C_STAT by writing 1 to this bit
8
BERRC
Bus error flag clear.
Software can clear the BERR bit of I2C_STAT by writing 1 to this bit
7:6
Reservced
Must be kept at reset value.
5
STPDETC
STPDET flag clear
Software can clear the STPDET bit of I2C_STAT by write 1 to this bit