AT32WB415
Series Reference Manual
2022.04.13
Page 131
Ver 2.00
11.5.6 Status register1 (I2C_STS1)
Bit
Register
Reset value
Type
Description
Bit 15
ALERTF
0x0
rw0c
SMBus alert flag
In SMBus host mode:
0: No SMBus alert
1: SMBus alert event is received.
In SMBus slave mode:
It indicates the receiving status of the default device
address (0001100x)
0: Default device address is not received.
1: Default device address is received.
This bit is cleared by software, or by hardware when
I2CEN=0.
Bit 14
TMOUT
0x0
rw0c
SMBus timeout flag
0: No timeout error.
1: Timeout
This bit is cleared by software, or by hardware when
I2CEN=0.
Note: This function is valid only in SMBUS mode.
Bit 13
Reserved
0x0
resd
Kept at its default value.
Bit 12
PECERR
0x0
rw0c
PEC receive error flag
0: No PEC error
1: PEC error occurs.
This bit is cleared by software.
Bit 11
OUF
0x0
rw0c
Overload / underload flag
In transmission mode:
0: Normal
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