AT32F425
Series Reference Manual
2022.03.30
Page 141
Ver 2.01
11.5
I
2
C interrupt requests
The following table lists all the I
2
C interrupt requests.
Table 11-7 I
2
C interrupt requests
Interrupt event
Event flag
Enable control bit
Address matched
ADDRF
ADDRIEN
Acknowledge failure
ACKFAIL
ACKFAILIEN
Stop condition received
STOPF
STOPIEN
Transmit interrupt state
TDIS
TDIEN
Receive data buffer full
RDBF
RDIEN
Transfer complete, wait for loading
data
TCRLD
TDCIEN
Data transfer complete
TDC
SMBus alert
ALERTF
ERRIEN
Timeout error
TMOUT
PEC error
PECERR
Overrun/Underrun
OUF
Arbitration lost
ARLOST
Bus error
BUSERR
11.6
I
2
C debug mode
When the microcontroller enters debug mode (Cortex
TM
-M4 halted), the SMBUS timeout either continues
to work or stops, depending on the I2Cx_SMBUS_TIMEOUT configuration bit in the DEBUG module.
11.7
I
2
C registers
These peripheral registers must be accessed by words (32 bits).
Table 11-8 I
2
C register map and reset value s
Register
Offset
Reset value
I2C_CTRL1
0x00
0x00000000
I2C_CTRL2
0x04
0x00000000
I2C_OADDR1
0x08
0x00000000
I2C_OADDR2
0x0C
0x00000000
I2C_CLKCTRL
0x10
0x00000000
I2C_TIMEOUT
0x14
0x00000000
I2C_STS
0x18
0x00000000
I2C_CLR
0x1C
0x00000000
I2C_PEC
0x20
0x00000000
I2C_RXDT
0x24
0x00000000
I2C_TXDT
0x28
0x00000000