AT32F425
Series Reference Manual
2022.03.30
Page 146
Ver 2.01
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
regiter. 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 writtento 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.
11.7.9 PEC register (I2C_PEC)
Bit
Register
Reset value
Type
Description
Bit 31: 8
Reserved
0x000000
res
Kept at its default value.
Bit 7: 0
PECVAL[7: 0]
0x00
r
PEC value
11.7.10 Receive data register (I2C_RXDT)
Bit
Register
Reset value
Type
Description
Bit 31: 8 Reserved
0x000000
res
Kept at its default value.
Bit 7: 0
DT[7: 0]
0x00
r
Receive data register
11.7.11 Transmit data register (I2C_TXDT)
Bit
Register
Reset value
Type
Description
Bit 31: 8 Reserved
0x000000
res
Kept at its default value.
Bit 7: 0
DT[7: 0]
0x00
rw
Transmit data register