
AT32F413
Series Reference Manual
2022.06.27
Page 138
Rev 2.00
1: Underload
In reception mode:
0: Normal
1: Overload
This bit is cleared by software, or by hardware when
I2CEN=0.
Bit 10
ACKFAIL
0x0
rw0c
Acknowledge failure flag
0: No acknowledge failure
1: Acknowledge failure occurs.
Set by hardware when no acknowledge is returned.
This bit is cleared by software, or by hardware when
I2CEN=0.
Bit 9
ARLOST
0x0
rw0c
Arbitration lost flag
0: No arbitration lost is detected.
1: Arbitration lost is detected.
This bit is cleared by software, or by hardware when
I2CEN=0.
On ARLOST even, the I
2
C interface switches to slave
mode automatically.
Bit 8
BUSERR
0x0
rw0c
Bus error flag
0: No Bus error occurs.
1: Bus error occurs.
Set by hardware when the interface detects a misplaced
Start or Stop condition.
This bit is cleared by software, or by hardware when
I2CEN=0.
Bit 7
TDBE
0x0
ro
Transmit data buffer empty flag
0: The data is being transferred from the DT register to the
shift register (the data is still loaded with the data at this
point.)
1: The data has been moved from the DT register to the
shift register. The data register is empty now.
This flag is set when the DT register is empty, and cleared
when writing to the DT register.
Note: The TDBE bit is not cleared by writing the first data
to be transmitted, or by writing data when the TDC is set,
since the data register is still empty at this time.
Bit 6
RDBF
0x0
ro
Receive data buffer full flag
0: Data register is empty.
1: Data register is full (data received)
This flag is cleared when the DT register is read.
The RDBF bit is not set at ARLOST event.
Bit 5
Reserved
0x0
resd
Kept at its default value.
Bit 4
STOPF
0x0
ro
Stop condition generation complete flag
0: No Stop condition is detected.
1: Stop condition is detected.
This bit is set by hardware when a Stop condition is
detected on the bus by the slave if ACKEN=1.
It is cleared by reading STS1 register followed by writing
to the CTRL1 register.
Bit 3
ADDRHF
0x0
ro
Master 9~8 bit address head match flag
0: Master 9~8 bit address head mismatch
1: Master 9~8 bit address head match
Set by hardware when the first byte is sent by master in
10-bit address mode.
Cleared by a write to the CTRL1 register after the STS1