Table 237. I2C Interrupt Requests - STMicroelectronics STM32WL5 Series Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

Inter-integrated circuit (I2C) interface
34.6
I2C interrupts
The following table gives the list of I2C interrupt requests.
Interrupt
Interrupt
acronym
event
Receive buffer
not empty
Transmit buffer
interrupt status
Stop detection
interrupt flag
I2C_EV
Transfer
complete reload
Transfer
complete
Address
I2C
matched
NACK reception
Bus error
Arbitration loss
Overrun/
Underrun
I2C_ER
PEC error
Timeout/
t
error
LOW
SMBus alert
1. The ADDR match event can wake up the device from Stop mode only if the I2C instance supports the Wake-up from Stop
mode feature. Refer to
1098/1450

Table 237. I2C Interrupt requests

Event
flag
control bit
RXNE
TXIS
STOPF
TCR
TC
ADDR
NACKF
BERR
ARLO
OVR
PECERR
TIMEOUT
ALERT
Section
34.3.
Enable
Interrupt clear
method
Read I2C_RXDR
RXIE
register
Write I2C_TXDR
TXIE
register
STOPIE
Write STOPCF = 1
Write I2C_CR2 with
NBYTES[7:0] ≠ 0
TCIE
Write START = 1 or
STOP = 1
ADDRIE
Write ADDRCF = 1
NACKIE
Write NACKCF = 1
Write BERRCF = 1
Write ARLOCF = 1
Write OVRCF = 1
ERRIE
Write PECERRCF = 1
Write
TIMEOUTCF = 1
Write ALERTCF = 1
RM0453 Rev 5
RM0453
Exit
Exit
Exit
Stop 0,
Standby,
Sleep
Stop 1,
Shutdown
mode
Stop 2
modes
modes
No
Yes
No
(1)
Yes
No
Yes
No
No

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32WL5 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Stm32wl55 seriesStm32wl54 series

Table of Contents