Hal Drivers for L4
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
IT_Management
[I2C Exported Functions]
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:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 870 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) CR1 ERRIE LL_I2C_DisableIT_ERR
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 1016 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:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 903 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:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 837 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:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 936 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:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 975 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:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 804 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:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 859 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) CR1 ERRIE LL_I2C_EnableIT_ERR
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 1001 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:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 892 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:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 826 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:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 925 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:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 961 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:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 793 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:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 881 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:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 1027 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:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 914 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:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 848 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:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 947 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:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 986 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:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 815 of file stm32l4xx_ll_i2c.h.
Generated on Tue Jul 12 2022 11:35:23 by
