![ARTERY AT32F435 Series Reference Manual Download Page 199](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592199.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 199
Rev 2.03
1: Data transfer is completed (shift register become empty
and all data has been sent to the bus)
This bit is set when ASTOPEN = 0, RLDEN = 0, CNT = 0.
It is automatically cleared after a START or a STOP
condition is received.
Bit 5
STOPF
0x0
r
Stop condition generation complete flag
0: No Stop condition detected.
1: Stop condition detected.
Bit 4
ACKFAILF
0x0
r
Acknowledge failure flag
0: No acknowledge failure
1: Acknowledge failure
Bit 3
ADDRHF
0x0
r
0~7 bit address head match flag
0: 0~7 bit address head mismatch
1: 0~7 bit address head match
Bit 2
RDBF
0x0
r
Receive data buffer full flag
0: Data register has not received data yet
1: Data register has received data
Bit 1
TDIS
0x0
rw1s
Transmit data interrupt status
0: Data has been written to the I2C_TXDT
1: Data has been sent from the I2C_TXDT to the shift
register. I2C_TXDT become empty, and thus the to-be-
transferred data must be written to the I2C_TXDT.
When the clock stretching mode is disabled, a TDIS event
is generated by writing 1 so that data is written to the
I2C_TXDT register in advance.
Bit 0
TDBE
0x0
rw1s
Transmit data buffer empty flag
0: I2C_TXDT not empty
1: I2C_TXDT empty
This bit is only used to indicate the current status of the
I2C_TXDT register. The I2C_TXDT register can be cleared
by writing 1 through software.
11.7.8 Status clear register (I2C_CLR)
Bit
Register
Reset value
Type
Description
Bit 31: 14
Reserved
0x00000
res
Kept at its default value.
Bit 13
ALERTC
0x0
w
Clear SMBus alert flag
SMBus alert flag is cleared by writing 1.
Bit 12
TMOUTC
0x0
w
Clear SMBus timeout flag
SMBus timeout flag is cleared by writing 1.
Bit 11
PECERRC
0x0
w
Clear PEC receive error flag
PEC receive error flag is cleared by writing 1.
Bit 10
OUFC
0x0
w
Clear overload / underload flag
Overload / underload flag is cleared by writing 1.
Bit 9
ARLOSTC
0x0
w
Clear arbitration lost flag
Arbitration lost flag is cleared by writing 1.
Bit 8
BUSERRC
0x0
w
Clear bus error flag
Bus error flag is cleared by writing 1
Bit 7: 6
Reserved
0x0
res
Kept at its default value.
Bit 5
STOPC
0x0
w
Clear stop condition generation complete flag
Stop condition generation complete flag is cleared by
writing 1.
Bit 4
ACKFAILC
0x0
w
Clear acknowledge failure flag
Acknowledge failure flag is cleared by writing 1.
Bit 3
ADDRC
0x0
w
Clear 0~7 bit address match flag
0~7 bit address match flag is cleared by writing 1.
Bit 2: 0
Reserved
0x0
res
Kept at its default value.