Hal Drivers for L4
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
FLAG_management
[I2C Exported Functions]
Functions | |
__STATIC_INLINE uint32_t | LL_I2C_IsActiveFlag_TXE (I2C_TypeDef *I2Cx) |
Indicate the status of Transmit data register empty flag. | |
__STATIC_INLINE uint32_t | LL_I2C_IsActiveFlag_TXIS (I2C_TypeDef *I2Cx) |
Indicate the status of Transmit interrupt flag. | |
__STATIC_INLINE uint32_t | LL_I2C_IsActiveFlag_RXNE (I2C_TypeDef *I2Cx) |
Indicate the status of Receive data register not empty flag. | |
__STATIC_INLINE uint32_t | LL_I2C_IsActiveFlag_ADDR (I2C_TypeDef *I2Cx) |
Indicate the status of Address matched flag (slave mode). | |
__STATIC_INLINE uint32_t | LL_I2C_IsActiveFlag_NACK (I2C_TypeDef *I2Cx) |
Indicate the status of Not Acknowledge received flag. | |
__STATIC_INLINE uint32_t | LL_I2C_IsActiveFlag_STOP (I2C_TypeDef *I2Cx) |
Indicate the status of Stop detection flag. | |
__STATIC_INLINE uint32_t | LL_I2C_IsActiveFlag_TC (I2C_TypeDef *I2Cx) |
Indicate the status of Transfer complete flag (master mode). | |
__STATIC_INLINE uint32_t | LL_I2C_IsActiveFlag_TCR (I2C_TypeDef *I2Cx) |
Indicate the status of Transfer complete flag (master mode). | |
__STATIC_INLINE uint32_t | LL_I2C_IsActiveFlag_BERR (I2C_TypeDef *I2Cx) |
Indicate the status of Bus error flag. | |
__STATIC_INLINE uint32_t | LL_I2C_IsActiveFlag_ARLO (I2C_TypeDef *I2Cx) |
Indicate the status of Arbitration lost flag. | |
__STATIC_INLINE uint32_t | LL_I2C_IsActiveFlag_OVR (I2C_TypeDef *I2Cx) |
Indicate the status of Overrun/Underrun flag (slave mode). | |
__STATIC_INLINE uint32_t | LL_I2C_IsActiveFlag_BUSY (I2C_TypeDef *I2Cx) |
Indicate the status of Bus Busy flag. | |
__STATIC_INLINE void | LL_I2C_ClearFlag_ADDR (I2C_TypeDef *I2Cx) |
Clear Address Matched flag. | |
__STATIC_INLINE void | LL_I2C_ClearFlag_NACK (I2C_TypeDef *I2Cx) |
Clear Not Acknowledge flag. | |
__STATIC_INLINE void | LL_I2C_ClearFlag_STOP (I2C_TypeDef *I2Cx) |
Clear Stop detection flag. | |
__STATIC_INLINE void | LL_I2C_ClearFlag_TXE (I2C_TypeDef *I2Cx) |
Clear Transmit data register empty flag (TXE). | |
__STATIC_INLINE void | LL_I2C_ClearFlag_BERR (I2C_TypeDef *I2Cx) |
Clear Bus error flag. | |
__STATIC_INLINE void | LL_I2C_ClearFlag_ARLO (I2C_TypeDef *I2Cx) |
Clear Arbitration lost flag. | |
__STATIC_INLINE void | LL_I2C_ClearFlag_OVR (I2C_TypeDef *I2Cx) |
Clear Overrun/Underrun flag. |
Function Documentation
__STATIC_INLINE void LL_I2C_ClearFlag_ADDR | ( | I2C_TypeDef * | I2Cx ) |
Clear Address Matched flag.
ICR ADDRCF LL_I2C_ClearFlag_ADDR
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 1202 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_ClearFlag_ARLO | ( | I2C_TypeDef * | I2Cx ) |
Clear Arbitration lost flag.
ICR ARLOCF LL_I2C_ClearFlag_ARLO
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 1258 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_ClearFlag_BERR | ( | I2C_TypeDef * | I2Cx ) |
Clear Bus error flag.
ICR BERRCF LL_I2C_ClearFlag_BERR
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 1247 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_ClearFlag_NACK | ( | I2C_TypeDef * | I2Cx ) |
Clear Not Acknowledge flag.
ICR NACKCF LL_I2C_ClearFlag_NACK
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 1213 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_ClearFlag_OVR | ( | I2C_TypeDef * | I2Cx ) |
Clear Overrun/Underrun flag.
ICR OVRCF LL_I2C_ClearFlag_OVR
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 1269 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_ClearFlag_STOP | ( | I2C_TypeDef * | I2Cx ) |
Clear Stop detection flag.
ICR STOPCF LL_I2C_ClearFlag_STOP
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 1224 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_ClearFlag_TXE | ( | I2C_TypeDef * | I2Cx ) |
Clear Transmit data register empty flag (TXE).
- Note:
- This bit can be clear by software in order to flush the transmit data register (TXDR). ISR TXE LL_I2C_ClearFlag_TXE
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
None
Definition at line 1236 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_ADDR | ( | I2C_TypeDef * | I2Cx ) |
Indicate the status of Address matched flag (slave mode).
RESET: Clear default value. SET: When the received slave address matched with one of the enabled slave address. ISR ADDR LL_I2C_IsActiveFlag_ADDR
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 1087 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_ARLO | ( | I2C_TypeDef * | I2Cx ) |
Indicate the status of Arbitration lost flag.
RESET: Clear default value. SET: When arbitration lost. ISR ARLO LL_I2C_IsActiveFlag_ARLO
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 1165 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_BERR | ( | I2C_TypeDef * | I2Cx ) |
Indicate the status of Bus error flag.
RESET: Clear default value. SET: When a misplaced Start or Stop condition is detected. ISR BERR LL_I2C_IsActiveFlag_BERR
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 1152 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_BUSY | ( | I2C_TypeDef * | I2Cx ) |
Indicate the status of Bus Busy flag.
RESET: Clear default value. SET: When a Start condition is detected. ISR BUSY LL_I2C_IsActiveFlag_BUSY
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 1191 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_NACK | ( | I2C_TypeDef * | I2Cx ) |
Indicate the status of Not Acknowledge received flag.
RESET: Clear default value. SET: When a NACK is received after a byte transmission. ISR NACKF LL_I2C_IsActiveFlag_NACK
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 1100 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_OVR | ( | I2C_TypeDef * | I2Cx ) |
Indicate the status of Overrun/Underrun flag (slave mode).
RESET: Clear default value. SET: When an overrun/underrun error occures (Clock Stretching Disabled). ISR OVR LL_I2C_IsActiveFlag_OVR
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 1178 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_RXNE | ( | I2C_TypeDef * | I2Cx ) |
Indicate the status of Receive data register not empty flag.
RESET: When Receive data register is read. SET: When the received data is copied in Receive data register. ISR RXNE LL_I2C_IsActiveFlag_RXNE
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 1074 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_STOP | ( | I2C_TypeDef * | I2Cx ) |
Indicate the status of Stop detection flag.
RESET: Clear default value. SET: When a Stop condition is detected. ISR STOPF LL_I2C_IsActiveFlag_STOP
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 1113 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_TC | ( | I2C_TypeDef * | I2Cx ) |
Indicate the status of Transfer complete flag (master mode).
RESET: Clear default value. SET: When RELOAD=0, AUTOEND=0 and NBYTES date have been transferred. ISR TC LL_I2C_IsActiveFlag_TC
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 1126 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_TCR | ( | I2C_TypeDef * | I2Cx ) |
Indicate the status of Transfer complete flag (master mode).
RESET: Clear default value. SET: When RELOAD=1 and NBYTES date have been transferred. ISR TCR LL_I2C_IsActiveFlag_TCR
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 1139 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_TXE | ( | I2C_TypeDef * | I2Cx ) |
Indicate the status of Transmit data register empty flag.
RESET: When next data is written in Transmit data register. SET: When Transmit data register is empty. ISR TXE LL_I2C_IsActiveFlag_TXE
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 1048 of file stm32l4xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_TXIS | ( | I2C_TypeDef * | I2Cx ) |
Indicate the status of Transmit interrupt flag.
RESET: When next data is written in Transmit data register. SET: When Transmit data register is empty. ISR TXIS LL_I2C_IsActiveFlag_TXIS
- Parameters:
-
I2Cx I2C Instance.
- Return values:
-
State of bit (1 or 0).
Definition at line 1061 of file stm32l4xx_ll_i2c.h.
Generated on Tue Jul 12 2022 11:35:23 by
