STM32F4xx_HAL_Driver  1.8.3
+ Collaboration diagram for IT_Management:

Functions

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

Detailed Description

Function Documentation

◆ LL_I2C_DisableIT_BUF()

__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) @rmtoll CR2 ITBUFEN LL_I2C_DisableIT_BUF
Parameters
I2CxI2C Instance.
Return values
None

Definition at line 1151 of file stm32f4xx_ll_i2c.h.

◆ LL_I2C_DisableIT_ERR()

__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) @rmtoll CR2 ITERREN LL_I2C_DisableIT_ERR
Parameters
I2CxI2C Instance.
Return values
None

Definition at line 1204 of file stm32f4xx_ll_i2c.h.

◆ LL_I2C_DisableIT_EVT()

__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) @rmtoll CR2 ITEVTEN LL_I2C_DisableIT_EVT
Parameters
I2CxI2C Instance.
Return values
None

Definition at line 1112 of file stm32f4xx_ll_i2c.h.

◆ LL_I2C_DisableIT_RX()

__STATIC_INLINE void LL_I2C_DisableIT_RX ( I2C_TypeDef *  I2Cx)

Disable RXNE interrupt. @rmtoll CR2 ITEVTEN LL_I2C_DisableIT_RX
CR2 ITBUFEN LL_I2C_DisableIT_RX.

Parameters
I2CxI2C Instance.
Return values
None

Definition at line 1060 of file stm32f4xx_ll_i2c.h.

◆ LL_I2C_DisableIT_TX()

__STATIC_INLINE void LL_I2C_DisableIT_TX ( I2C_TypeDef *  I2Cx)

Disable TXE interrupt. @rmtoll CR2 ITEVTEN LL_I2C_DisableIT_TX
CR2 ITBUFEN LL_I2C_DisableIT_TX.

Parameters
I2CxI2C Instance.
Return values
None

Definition at line 1024 of file stm32f4xx_ll_i2c.h.

◆ LL_I2C_EnableIT_BUF()

__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) @rmtoll CR2 ITBUFEN LL_I2C_EnableIT_BUF
Parameters
I2CxI2C Instance.
Return values
None

Definition at line 1137 of file stm32f4xx_ll_i2c.h.

◆ LL_I2C_EnableIT_ERR()

__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) @rmtoll CR2 ITERREN LL_I2C_EnableIT_ERR
Parameters
I2CxI2C Instance.
Return values
None

Definition at line 1183 of file stm32f4xx_ll_i2c.h.

◆ LL_I2C_EnableIT_EVT()

__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) @rmtoll CR2 ITEVTEN LL_I2C_EnableIT_EVT
Parameters
I2CxI2C Instance.
Return values
None

Definition at line 1093 of file stm32f4xx_ll_i2c.h.

◆ LL_I2C_EnableIT_RX()

__STATIC_INLINE void LL_I2C_EnableIT_RX ( I2C_TypeDef *  I2Cx)

Enable RXNE interrupt. @rmtoll CR2 ITEVTEN LL_I2C_EnableIT_RX
CR2 ITBUFEN LL_I2C_EnableIT_RX.

Parameters
I2CxI2C Instance.
Return values
None

Definition at line 1048 of file stm32f4xx_ll_i2c.h.

◆ LL_I2C_EnableIT_TX()

__STATIC_INLINE void LL_I2C_EnableIT_TX ( I2C_TypeDef *  I2Cx)

Enable TXE interrupt. @rmtoll CR2 ITEVTEN LL_I2C_EnableIT_TX
CR2 ITBUFEN LL_I2C_EnableIT_TX.

Parameters
I2CxI2C Instance.
Return values
None

Definition at line 1012 of file stm32f4xx_ll_i2c.h.

◆ LL_I2C_IsEnabledIT_BUF()

__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_BUF ( I2C_TypeDef *  I2Cx)

Check if Buffer interrupts are enabled or disabled. @rmtoll CR2 ITBUFEN LL_I2C_IsEnabledIT_BUF.

Parameters
I2CxI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1162 of file stm32f4xx_ll_i2c.h.

◆ LL_I2C_IsEnabledIT_ERR()

__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_ERR ( I2C_TypeDef *  I2Cx)

Check if Error interrupts are enabled or disabled. @rmtoll CR2 ITERREN LL_I2C_IsEnabledIT_ERR.

Parameters
I2CxI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1215 of file stm32f4xx_ll_i2c.h.

◆ LL_I2C_IsEnabledIT_EVT()

__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_EVT ( I2C_TypeDef *  I2Cx)

Check if Events interrupts are enabled or disabled. @rmtoll CR2 ITEVTEN LL_I2C_IsEnabledIT_EVT.

Parameters
I2CxI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1123 of file stm32f4xx_ll_i2c.h.

◆ LL_I2C_IsEnabledIT_RX()

__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_RX ( I2C_TypeDef *  I2Cx)

Check if the RXNE Interrupt is enabled or disabled. @rmtoll 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 1072 of file stm32f4xx_ll_i2c.h.

◆ LL_I2C_IsEnabledIT_TX()

__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_TX ( I2C_TypeDef *  I2Cx)

Check if the TXE Interrupt is enabled or disabled. @rmtoll 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 1036 of file stm32f4xx_ll_i2c.h.