TUKS MCU Introductory course / TUKS-COURSE-2-LED
Embed: (wiki syntax)

« Back to documentation index

IT_Management

Functions

__STATIC_INLINE void LL_I2C_EnableIT_TX (I2C_TypeDef *I2Cx)
 Enable TXIS interrupt.
__STATIC_INLINE void LL_I2C_DisableIT_TX (I2C_TypeDef *I2Cx)
 Disable TXIS interrupt.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_TX (I2C_TypeDef *I2Cx)
 Check if the TXIS 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_ADDR (I2C_TypeDef *I2Cx)
 Enable Address match interrupt (slave mode only).
__STATIC_INLINE void LL_I2C_DisableIT_ADDR (I2C_TypeDef *I2Cx)
 Disable Address match interrupt (slave mode only).
__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_ADDR (I2C_TypeDef *I2Cx)
 Check if Address match interrupt is enabled or disabled.
__STATIC_INLINE void LL_I2C_EnableIT_NACK (I2C_TypeDef *I2Cx)
 Enable Not acknowledge received interrupt.
__STATIC_INLINE void LL_I2C_DisableIT_NACK (I2C_TypeDef *I2Cx)
 Disable Not acknowledge received interrupt.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_NACK (I2C_TypeDef *I2Cx)
 Check if Not acknowledge received interrupt is enabled or disabled.
__STATIC_INLINE void LL_I2C_EnableIT_STOP (I2C_TypeDef *I2Cx)
 Enable STOP detection interrupt.
__STATIC_INLINE void LL_I2C_DisableIT_STOP (I2C_TypeDef *I2Cx)
 Disable STOP detection interrupt.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_STOP (I2C_TypeDef *I2Cx)
 Check if STOP detection interrupt is enabled or disabled.
__STATIC_INLINE void LL_I2C_EnableIT_TC (I2C_TypeDef *I2Cx)
 Enable Transfer Complete interrupt.
__STATIC_INLINE void LL_I2C_DisableIT_TC (I2C_TypeDef *I2Cx)
 Disable Transfer Complete interrupt.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_TC (I2C_TypeDef *I2Cx)
 Check if Transfer Complete interrupt is 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 is enabled of disabled.

Function Documentation

__STATIC_INLINE void LL_I2C_DisableIT_ADDR ( I2C_TypeDef *  I2Cx )

Disable Address match interrupt (slave mode only).

CR1 ADDRIE LL_I2C_DisableIT_ADDR

Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1352 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_DisableIT_ERR ( I2C_TypeDef *  I2Cx )

Disable Error interrupts.

Note:
Any of these errors will generate interrupt : Arbitration Loss (ARLO) Bus Error detection (BERR) Overrun/Underrun (OVR) SMBus Timeout detection (TIMEOUT) SMBus PEC error detection (PECERR) SMBus Alert pin event detection (ALERT)
Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not SMBus feature is supported by the I2Cx Instance. CR1 ERRIE LL_I2C_DisableIT_ERR
Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1508 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_DisableIT_NACK ( I2C_TypeDef *  I2Cx )

Disable Not acknowledge received interrupt.

CR1 NACKIE LL_I2C_DisableIT_NACK

Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1385 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_DisableIT_RX ( I2C_TypeDef *  I2Cx )

Disable RXNE interrupt.

CR1 RXIE LL_I2C_DisableIT_RX

Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1319 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_DisableIT_STOP ( I2C_TypeDef *  I2Cx )

Disable STOP detection interrupt.

CR1 STOPIE LL_I2C_DisableIT_STOP

Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1418 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_DisableIT_TC ( I2C_TypeDef *  I2Cx )

Disable Transfer Complete interrupt.

Note:
Any of these events will generate interrupt : Transfer Complete (TC) Transfer Complete Reload (TCR) CR1 TCIE LL_I2C_DisableIT_TC
Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1457 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_DisableIT_TX ( I2C_TypeDef *  I2Cx )

Disable TXIS interrupt.

CR1 TXIE LL_I2C_DisableIT_TX

Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1286 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_EnableIT_ADDR ( I2C_TypeDef *  I2Cx )

Enable Address match interrupt (slave mode only).

CR1 ADDRIE LL_I2C_EnableIT_ADDR

Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1341 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_EnableIT_ERR ( I2C_TypeDef *  I2Cx )

Enable Error interrupts.

Note:
Any of these errors will generate interrupt : Arbitration Loss (ARLO) Bus Error detection (BERR) Overrun/Underrun (OVR) SMBus Timeout detection (TIMEOUT) SMBus PEC error detection (PECERR) SMBus Alert pin event detection (ALERT)
Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not SMBus feature is supported by the I2Cx Instance. CR1 ERRIE LL_I2C_EnableIT_ERR
Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1488 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_EnableIT_NACK ( I2C_TypeDef *  I2Cx )

Enable Not acknowledge received interrupt.

CR1 NACKIE LL_I2C_EnableIT_NACK

Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1374 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_EnableIT_RX ( I2C_TypeDef *  I2Cx )

Enable RXNE interrupt.

CR1 RXIE LL_I2C_EnableIT_RX

Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1308 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_EnableIT_STOP ( I2C_TypeDef *  I2Cx )

Enable STOP detection interrupt.

CR1 STOPIE LL_I2C_EnableIT_STOP

Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1407 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_EnableIT_TC ( I2C_TypeDef *  I2Cx )

Enable Transfer Complete interrupt.

Note:
Any of these events will generate interrupt : Transfer Complete (TC) Transfer Complete Reload (TCR) CR1 TCIE LL_I2C_EnableIT_TC
Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1443 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE void LL_I2C_EnableIT_TX ( I2C_TypeDef *  I2Cx )

Enable TXIS interrupt.

CR1 TXIE LL_I2C_EnableIT_TX

Parameters:
I2CxI2C Instance.
Return values:
None

Definition at line 1275 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_ADDR ( I2C_TypeDef *  I2Cx )

Check if Address match interrupt is enabled or disabled.

CR1 ADDRIE LL_I2C_IsEnabledIT_ADDR

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

Definition at line 1363 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_ERR ( I2C_TypeDef *  I2Cx )

Check if Error interrupts is enabled of disabled.

CR1 ERRIE LL_I2C_IsEnabledIT_ERR

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

Definition at line 1519 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_NACK ( I2C_TypeDef *  I2Cx )

Check if Not acknowledge received interrupt is enabled or disabled.

CR1 NACKIE LL_I2C_IsEnabledIT_NACK

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

Definition at line 1396 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_RX ( I2C_TypeDef *  I2Cx )

Check if the RXNE Interrupt is enabled or disabled.

CR1 RXIE LL_I2C_IsEnabledIT_RX

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

Definition at line 1330 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_STOP ( I2C_TypeDef *  I2Cx )

Check if STOP detection interrupt is enabled or disabled.

CR1 STOPIE LL_I2C_IsEnabledIT_STOP

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

Definition at line 1429 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_TC ( I2C_TypeDef *  I2Cx )

Check if Transfer Complete interrupt is enabled or disabled.

CR1 TCIE LL_I2C_IsEnabledIT_TC

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

Definition at line 1468 of file stm32l4xx_ll_i2c.h.

__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_TX ( I2C_TypeDef *  I2Cx )

Check if the TXIS Interrupt is enabled or disabled.

CR1 TXIE LL_I2C_IsEnabledIT_TX

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

Definition at line 1297 of file stm32l4xx_ll_i2c.h.