STM32F439xx HAL User Manual
Functions
IT_Management
I2C Exported Functions

Functions

__STATIC_INLINE void LL_I2C_EnableIT_TX (I2C_TypeDef *I2Cx)
 Enable TXE interrupt.
__STATIC_INLINE void LL_I2C_DisableIT_TX (I2C_TypeDef *I2Cx)
 Disable TXE interrupt.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_TX (I2C_TypeDef *I2Cx)
 Check if the TXE Interrupt is enabled or disabled.
__STATIC_INLINE void LL_I2C_EnableIT_RX (I2C_TypeDef *I2Cx)
 Enable RXNE interrupt.
__STATIC_INLINE void LL_I2C_DisableIT_RX (I2C_TypeDef *I2Cx)
 Disable RXNE interrupt.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_RX (I2C_TypeDef *I2Cx)
 Check if the RXNE Interrupt is enabled or disabled.
__STATIC_INLINE void LL_I2C_EnableIT_EVT (I2C_TypeDef *I2Cx)
 Enable Events interrupts.
__STATIC_INLINE void LL_I2C_DisableIT_EVT (I2C_TypeDef *I2Cx)
 Disable Events interrupts.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_EVT (I2C_TypeDef *I2Cx)
 Check if Events interrupts are enabled or disabled.
__STATIC_INLINE void LL_I2C_EnableIT_BUF (I2C_TypeDef *I2Cx)
 Enable Buffer interrupts.
__STATIC_INLINE void LL_I2C_DisableIT_BUF (I2C_TypeDef *I2Cx)
 Disable Buffer interrupts.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_BUF (I2C_TypeDef *I2Cx)
 Check if Buffer interrupts are enabled or disabled.
__STATIC_INLINE void LL_I2C_EnableIT_ERR (I2C_TypeDef *I2Cx)
 Enable Error interrupts.
__STATIC_INLINE void LL_I2C_DisableIT_ERR (I2C_TypeDef *I2Cx)
 Disable Error interrupts.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_ERR (I2C_TypeDef *I2Cx)
 Check if Error interrupts are enabled or disabled.

Function Documentation

__STATIC_INLINE void LL_I2C_DisableIT_BUF ( I2C_TypeDef *  I2Cx)

Disable Buffer interrupts.

Note:
Any of these Buffer events will generate interrupt : Receive buffer not empty (RXNE) Transmit buffer empty (TXE)
Reference Manual to LL API cross reference:
CR2 ITBUFEN LL_I2C_DisableIT_BUF
Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1168 of file stm32f4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_DisableIT_ERR ( I2C_TypeDef *  I2Cx)

Disable Error interrupts.

Note:
Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not SMBus feature is supported by the I2Cx Instance.
Any of these errors will generate interrupt : Bus Error detection (BERR) Arbitration Loss (ARLO) Acknowledge Failure(AF) Overrun/Underrun (OVR) SMBus Timeout detection (TIMEOUT) SMBus PEC error detection (PECERR) SMBus Alert pin event detection (SMBALERT)
Reference Manual to LL API cross reference:
CR2 ITERREN LL_I2C_DisableIT_ERR
Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1221 of file stm32f4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_DisableIT_EVT ( I2C_TypeDef *  I2Cx)

Disable Events interrupts.

Note:
Any of these events will generate interrupt : Start Bit (SB) Address sent, Address matched (ADDR) 10-bit header sent (ADD10) Stop detection (STOPF) Byte transfer finished (BTF) Receive buffer not empty (RXNE) Transmit buffer empty (TXE)
Reference Manual to LL API cross reference:
CR2 ITEVTEN LL_I2C_DisableIT_EVT
Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1129 of file stm32f4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_DisableIT_RX ( I2C_TypeDef *  I2Cx)

Disable RXNE interrupt.

Reference Manual to LL API cross reference:
CR2 ITEVTEN LL_I2C_DisableIT_RX
CR2 ITBUFEN LL_I2C_DisableIT_RX
Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1077 of file stm32f4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_DisableIT_TX ( I2C_TypeDef *  I2Cx)

Disable TXE interrupt.

Reference Manual to LL API cross reference:
CR2 ITEVTEN LL_I2C_DisableIT_TX
CR2 ITBUFEN LL_I2C_DisableIT_TX
Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1041 of file stm32f4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_EnableIT_BUF ( I2C_TypeDef *  I2Cx)

Enable Buffer interrupts.

Note:
Any of these Buffer events will generate interrupt if Events interrupts are enabled too(using unitary function LL_I2C_EnableIT_EVT()) : Receive buffer not empty (RXNE) Transmit buffer empty (TXE)
Reference Manual to LL API cross reference:
CR2 ITBUFEN LL_I2C_EnableIT_BUF
Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1154 of file stm32f4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_EnableIT_ERR ( I2C_TypeDef *  I2Cx)

Enable Error interrupts.

Note:
Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not SMBus feature is supported by the I2Cx Instance.
Any of these errors will generate interrupt : Bus Error detection (BERR) Arbitration Loss (ARLO) Acknowledge Failure(AF) Overrun/Underrun (OVR) SMBus Timeout detection (TIMEOUT) SMBus PEC error detection (PECERR) SMBus Alert pin event detection (SMBALERT)
Reference Manual to LL API cross reference:
CR2 ITERREN LL_I2C_EnableIT_ERR
Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1200 of file stm32f4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_EnableIT_EVT ( I2C_TypeDef *  I2Cx)

Enable Events interrupts.

Note:
Any of these events will generate interrupt : Start Bit (SB) Address sent, Address matched (ADDR) 10-bit header sent (ADD10) Stop detection (STOPF) Byte transfer finished (BTF)
Any of these events will generate interrupt if Buffer interrupts are enabled too(using unitary function LL_I2C_EnableIT_BUF()) : Receive buffer not empty (RXNE) Transmit buffer empty (TXE)
Reference Manual to LL API cross reference:
CR2 ITEVTEN LL_I2C_EnableIT_EVT
Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1110 of file stm32f4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_EnableIT_RX ( I2C_TypeDef *  I2Cx)

Enable RXNE interrupt.

Reference Manual to LL API cross reference:
CR2 ITEVTEN LL_I2C_EnableIT_RX
CR2 ITBUFEN LL_I2C_EnableIT_RX
Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1065 of file stm32f4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_EnableIT_TX ( I2C_TypeDef *  I2Cx)

Enable TXE interrupt.

Reference Manual to LL API cross reference:
CR2 ITEVTEN LL_I2C_EnableIT_TX
CR2 ITBUFEN LL_I2C_EnableIT_TX
Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1029 of file stm32f4xx_ll_i2c.h.

__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_BUF ( I2C_TypeDef *  I2Cx)

Check if Buffer interrupts are enabled or disabled.

Reference Manual to LL API cross reference:
CR2 ITBUFEN LL_I2C_IsEnabledIT_BUF
Parameters:
I2CxI2C Instance.
Return values:
Stateof bit (1 or 0).

Definition at line 1179 of file stm32f4xx_ll_i2c.h.

__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_ERR ( I2C_TypeDef *  I2Cx)

Check if Error interrupts are enabled or disabled.

Reference Manual to LL API cross reference:
CR2 ITERREN LL_I2C_IsEnabledIT_ERR
Parameters:
I2CxI2C Instance.
Return values:
Stateof bit (1 or 0).

Definition at line 1232 of file stm32f4xx_ll_i2c.h.

__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_EVT ( I2C_TypeDef *  I2Cx)

Check if Events interrupts are enabled or disabled.

Reference Manual to LL API cross reference:
CR2 ITEVTEN LL_I2C_IsEnabledIT_EVT
Parameters:
I2CxI2C Instance.
Return values:
Stateof bit (1 or 0).

Definition at line 1140 of file stm32f4xx_ll_i2c.h.

__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_RX ( I2C_TypeDef *  I2Cx)

Check if the RXNE Interrupt is enabled or disabled.

Reference Manual to LL API cross reference:
CR2 ITEVTEN LL_I2C_IsEnabledIT_RX
CR2 ITBUFEN LL_I2C_IsEnabledIT_RX
Parameters:
I2CxI2C Instance.
Return values:
Stateof bit (1 or 0).

Definition at line 1089 of file stm32f4xx_ll_i2c.h.

__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_TX ( I2C_TypeDef *  I2Cx)

Check if the TXE Interrupt is enabled or disabled.

Reference Manual to LL API cross reference:
CR2 ITEVTEN LL_I2C_IsEnabledIT_TX
CR2 ITBUFEN LL_I2C_IsEnabledIT_TX
Parameters:
I2CxI2C Instance.
Return values:
Stateof bit (1 or 0).

Definition at line 1053 of file stm32f4xx_ll_i2c.h.