STM32F4xx_HAL_Driver  1.8.3
+ Collaboration diagram for FLAG_management:

Functions

__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_TXE (const FMPI2C_TypeDef *FMPI2Cx)
 Indicate the status of Transmit data register empty flag. More...
 
__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_TXIS (const FMPI2C_TypeDef *FMPI2Cx)
 Indicate the status of Transmit interrupt flag. More...
 
__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_RXNE (const FMPI2C_TypeDef *FMPI2Cx)
 Indicate the status of Receive data register not empty flag. More...
 
__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_ADDR (const FMPI2C_TypeDef *FMPI2Cx)
 Indicate the status of Address matched flag (slave mode). More...
 
__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_NACK (const FMPI2C_TypeDef *FMPI2Cx)
 Indicate the status of Not Acknowledge received flag. More...
 
__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_STOP (const FMPI2C_TypeDef *FMPI2Cx)
 Indicate the status of Stop detection flag. More...
 
__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_TC (const FMPI2C_TypeDef *FMPI2Cx)
 Indicate the status of Transfer complete flag (master mode). More...
 
__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_TCR (const FMPI2C_TypeDef *FMPI2Cx)
 Indicate the status of Transfer complete flag (master mode). More...
 
__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_BERR (const FMPI2C_TypeDef *FMPI2Cx)
 Indicate the status of Bus error flag. More...
 
__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_ARLO (const FMPI2C_TypeDef *FMPI2Cx)
 Indicate the status of Arbitration lost flag. More...
 
__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_OVR (const FMPI2C_TypeDef *FMPI2Cx)
 Indicate the status of Overrun/Underrun flag (slave mode). More...
 
__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveSMBusFlag_PECERR (const FMPI2C_TypeDef *FMPI2Cx)
 Indicate the status of SMBus PEC error flag in reception. More...
 
__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveSMBusFlag_TIMEOUT (const FMPI2C_TypeDef *FMPI2Cx)
 Indicate the status of SMBus Timeout detection flag. More...
 
__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveSMBusFlag_ALERT (const FMPI2C_TypeDef *FMPI2Cx)
 Indicate the status of SMBus alert flag. More...
 
__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_BUSY (const FMPI2C_TypeDef *FMPI2Cx)
 Indicate the status of Bus Busy flag. More...
 
__STATIC_INLINE void LL_FMPI2C_ClearFlag_ADDR (FMPI2C_TypeDef *FMPI2Cx)
 Clear Address Matched flag. @rmtoll ICR ADDRCF LL_FMPI2C_ClearFlag_ADDR. More...
 
__STATIC_INLINE void LL_FMPI2C_ClearFlag_NACK (FMPI2C_TypeDef *FMPI2Cx)
 Clear Not Acknowledge flag. @rmtoll ICR NACKCF LL_FMPI2C_ClearFlag_NACK. More...
 
__STATIC_INLINE void LL_FMPI2C_ClearFlag_STOP (FMPI2C_TypeDef *FMPI2Cx)
 Clear Stop detection flag. @rmtoll ICR STOPCF LL_FMPI2C_ClearFlag_STOP. More...
 
__STATIC_INLINE void LL_FMPI2C_ClearFlag_TXE (FMPI2C_TypeDef *FMPI2Cx)
 Clear Transmit data register empty flag (TXE). More...
 
__STATIC_INLINE void LL_FMPI2C_ClearFlag_BERR (FMPI2C_TypeDef *FMPI2Cx)
 Clear Bus error flag. @rmtoll ICR BERRCF LL_FMPI2C_ClearFlag_BERR. More...
 
__STATIC_INLINE void LL_FMPI2C_ClearFlag_ARLO (FMPI2C_TypeDef *FMPI2Cx)
 Clear Arbitration lost flag. @rmtoll ICR ARLOCF LL_FMPI2C_ClearFlag_ARLO. More...
 
__STATIC_INLINE void LL_FMPI2C_ClearFlag_OVR (FMPI2C_TypeDef *FMPI2Cx)
 Clear Overrun/Underrun flag. @rmtoll ICR OVRCF LL_FMPI2C_ClearFlag_OVR. More...
 
__STATIC_INLINE void LL_FMPI2C_ClearSMBusFlag_PECERR (FMPI2C_TypeDef *FMPI2Cx)
 Clear SMBus PEC error flag. More...
 
__STATIC_INLINE void LL_FMPI2C_ClearSMBusFlag_TIMEOUT (FMPI2C_TypeDef *FMPI2Cx)
 Clear SMBus Timeout detection flag. More...
 
__STATIC_INLINE void LL_FMPI2C_ClearSMBusFlag_ALERT (FMPI2C_TypeDef *FMPI2Cx)
 Clear SMBus Alert flag. More...
 

Detailed Description

Function Documentation

◆ LL_FMPI2C_ClearFlag_ADDR()

__STATIC_INLINE void LL_FMPI2C_ClearFlag_ADDR ( FMPI2C_TypeDef *  FMPI2Cx)

Clear Address Matched flag. @rmtoll ICR ADDRCF LL_FMPI2C_ClearFlag_ADDR.

Parameters
FMPI2CxFMPI2C Instance.
Return values
None

Definition at line 1713 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_ClearFlag_ARLO()

__STATIC_INLINE void LL_FMPI2C_ClearFlag_ARLO ( FMPI2C_TypeDef *  FMPI2Cx)

Clear Arbitration lost flag. @rmtoll ICR ARLOCF LL_FMPI2C_ClearFlag_ARLO.

Parameters
FMPI2CxFMPI2C Instance.
Return values
None

Definition at line 1769 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_ClearFlag_BERR()

__STATIC_INLINE void LL_FMPI2C_ClearFlag_BERR ( FMPI2C_TypeDef *  FMPI2Cx)

Clear Bus error flag. @rmtoll ICR BERRCF LL_FMPI2C_ClearFlag_BERR.

Parameters
FMPI2CxFMPI2C Instance.
Return values
None

Definition at line 1758 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_ClearFlag_NACK()

__STATIC_INLINE void LL_FMPI2C_ClearFlag_NACK ( FMPI2C_TypeDef *  FMPI2Cx)

Clear Not Acknowledge flag. @rmtoll ICR NACKCF LL_FMPI2C_ClearFlag_NACK.

Parameters
FMPI2CxFMPI2C Instance.
Return values
None

Definition at line 1724 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_ClearFlag_OVR()

__STATIC_INLINE void LL_FMPI2C_ClearFlag_OVR ( FMPI2C_TypeDef *  FMPI2Cx)

Clear Overrun/Underrun flag. @rmtoll ICR OVRCF LL_FMPI2C_ClearFlag_OVR.

Parameters
FMPI2CxFMPI2C Instance.
Return values
None

Definition at line 1780 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_ClearFlag_STOP()

__STATIC_INLINE void LL_FMPI2C_ClearFlag_STOP ( FMPI2C_TypeDef *  FMPI2Cx)

Clear Stop detection flag. @rmtoll ICR STOPCF LL_FMPI2C_ClearFlag_STOP.

Parameters
FMPI2CxFMPI2C Instance.
Return values
None

Definition at line 1735 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_ClearFlag_TXE()

__STATIC_INLINE void LL_FMPI2C_ClearFlag_TXE ( FMPI2C_TypeDef *  FMPI2Cx)

Clear Transmit data register empty flag (TXE).

Note
This bit can be clear by software in order to flush the transmit data register (TXDR). @rmtoll ISR TXE LL_FMPI2C_ClearFlag_TXE
Parameters
FMPI2CxFMPI2C Instance.
Return values
None

Definition at line 1747 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_ClearSMBusFlag_ALERT()

__STATIC_INLINE void LL_FMPI2C_ClearSMBusFlag_ALERT ( FMPI2C_TypeDef *  FMPI2Cx)

Clear SMBus Alert flag.

Note
The macro IS_FMPSMBUS_ALL_INSTANCE(FMPI2Cx) can be used to check whether or not SMBus feature is supported by the FMPI2Cx Instance. @rmtoll ICR ALERTCF LL_FMPI2C_ClearSMBusFlag_ALERT
Parameters
FMPI2CxFMPI2C Instance.
Return values
None

Definition at line 1819 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_ClearSMBusFlag_PECERR()

__STATIC_INLINE void LL_FMPI2C_ClearSMBusFlag_PECERR ( FMPI2C_TypeDef *  FMPI2Cx)

Clear SMBus PEC error flag.

Note
The macro IS_FMPSMBUS_ALL_INSTANCE(FMPI2Cx) can be used to check whether or not SMBus feature is supported by the FMPI2Cx Instance. @rmtoll ICR PECCF LL_FMPI2C_ClearSMBusFlag_PECERR
Parameters
FMPI2CxFMPI2C Instance.
Return values
None

Definition at line 1793 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_ClearSMBusFlag_TIMEOUT()

__STATIC_INLINE void LL_FMPI2C_ClearSMBusFlag_TIMEOUT ( FMPI2C_TypeDef *  FMPI2Cx)

Clear SMBus Timeout detection flag.

Note
The macro IS_FMPSMBUS_ALL_INSTANCE(FMPI2Cx) can be used to check whether or not SMBus feature is supported by the FMPI2Cx Instance. @rmtoll ICR TIMOUTCF LL_FMPI2C_ClearSMBusFlag_TIMEOUT
Parameters
FMPI2CxFMPI2C Instance.
Return values
None

Definition at line 1806 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_IsActiveFlag_ADDR()

__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_ADDR ( const FMPI2C_TypeDef *  FMPI2Cx)

Indicate the status of Address matched flag (slave mode).

Note
RESET: Clear default value. SET: When the received slave address matched with one of the enabled slave address. @rmtoll ISR ADDR LL_FMPI2C_IsActiveFlag_ADDR
Parameters
FMPI2CxFMPI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1552 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_IsActiveFlag_ARLO()

__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_ARLO ( const FMPI2C_TypeDef *  FMPI2Cx)

Indicate the status of Arbitration lost flag.

Note
RESET: Clear default value. SET: When arbitration lost. @rmtoll ISR ARLO LL_FMPI2C_IsActiveFlag_ARLO
Parameters
FMPI2CxFMPI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1630 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_IsActiveFlag_BERR()

__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_BERR ( const FMPI2C_TypeDef *  FMPI2Cx)

Indicate the status of Bus error flag.

Note
RESET: Clear default value. SET: When a misplaced Start or Stop condition is detected. @rmtoll ISR BERR LL_FMPI2C_IsActiveFlag_BERR
Parameters
FMPI2CxFMPI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1617 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_IsActiveFlag_BUSY()

__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_BUSY ( const FMPI2C_TypeDef *  FMPI2Cx)

Indicate the status of Bus Busy flag.

Note
RESET: Clear default value. SET: When a Start condition is detected. @rmtoll ISR BUSY LL_FMPI2C_IsActiveFlag_BUSY
Parameters
FMPI2CxFMPI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1702 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_IsActiveFlag_NACK()

__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_NACK ( const FMPI2C_TypeDef *  FMPI2Cx)

Indicate the status of Not Acknowledge received flag.

Note
RESET: Clear default value. SET: When a NACK is received after a byte transmission. @rmtoll ISR NACKF LL_FMPI2C_IsActiveFlag_NACK
Parameters
FMPI2CxFMPI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1565 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_IsActiveFlag_OVR()

__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_OVR ( const FMPI2C_TypeDef *  FMPI2Cx)

Indicate the status of Overrun/Underrun flag (slave mode).

Note
RESET: Clear default value. SET: When an overrun/underrun error occurs (Clock Stretching Disabled). @rmtoll ISR OVR LL_FMPI2C_IsActiveFlag_OVR
Parameters
FMPI2CxFMPI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1643 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_IsActiveFlag_RXNE()

__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_RXNE ( const FMPI2C_TypeDef *  FMPI2Cx)

Indicate the status of Receive data register not empty flag.

Note
RESET: When Receive data register is read. SET: When the received data is copied in Receive data register. @rmtoll ISR RXNE LL_FMPI2C_IsActiveFlag_RXNE
Parameters
FMPI2CxFMPI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1539 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_IsActiveFlag_STOP()

__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_STOP ( const FMPI2C_TypeDef *  FMPI2Cx)

Indicate the status of Stop detection flag.

Note
RESET: Clear default value. SET: When a Stop condition is detected. @rmtoll ISR STOPF LL_FMPI2C_IsActiveFlag_STOP
Parameters
FMPI2CxFMPI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1578 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_IsActiveFlag_TC()

__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_TC ( const FMPI2C_TypeDef *  FMPI2Cx)

Indicate the status of Transfer complete flag (master mode).

Note
RESET: Clear default value. SET: When RELOAD=0, AUTOEND=0 and NBYTES date have been transferred. @rmtoll ISR TC LL_FMPI2C_IsActiveFlag_TC
Parameters
FMPI2CxFMPI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1591 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_IsActiveFlag_TCR()

__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_TCR ( const FMPI2C_TypeDef *  FMPI2Cx)

Indicate the status of Transfer complete flag (master mode).

Note
RESET: Clear default value. SET: When RELOAD=1 and NBYTES date have been transferred. @rmtoll ISR TCR LL_FMPI2C_IsActiveFlag_TCR
Parameters
FMPI2CxFMPI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1604 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_IsActiveFlag_TXE()

__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_TXE ( const FMPI2C_TypeDef *  FMPI2Cx)

Indicate the status of Transmit data register empty flag.

Note
RESET: When next data is written in Transmit data register. SET: When Transmit data register is empty. @rmtoll ISR TXE LL_FMPI2C_IsActiveFlag_TXE
Parameters
FMPI2CxFMPI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1513 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_IsActiveFlag_TXIS()

__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveFlag_TXIS ( const FMPI2C_TypeDef *  FMPI2Cx)

Indicate the status of Transmit interrupt flag.

Note
RESET: When next data is written in Transmit data register. SET: When Transmit data register is empty. @rmtoll ISR TXIS LL_FMPI2C_IsActiveFlag_TXIS
Parameters
FMPI2CxFMPI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1526 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_IsActiveSMBusFlag_ALERT()

__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveSMBusFlag_ALERT ( const FMPI2C_TypeDef *  FMPI2Cx)

Indicate the status of SMBus alert flag.

Note
The macro IS_FMPSMBUS_ALL_INSTANCE(FMPI2Cx) can be used to check whether or not SMBus feature is supported by the FMPI2Cx Instance.
RESET: Clear default value. SET: When SMBus host configuration, SMBus alert enabled and a falling edge event occurs on SMBA pin. @rmtoll ISR ALERT LL_FMPI2C_IsActiveSMBusFlag_ALERT
Parameters
FMPI2CxFMPI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1689 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_IsActiveSMBusFlag_PECERR()

__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveSMBusFlag_PECERR ( const FMPI2C_TypeDef *  FMPI2Cx)

Indicate the status of SMBus PEC error flag in reception.

Note
The macro IS_FMPSMBUS_ALL_INSTANCE(FMPI2Cx) can be used to check whether or not SMBus feature is supported by the FMPI2Cx Instance.
RESET: Clear default value. SET: When the received PEC does not match with the PEC register content. @rmtoll ISR PECERR LL_FMPI2C_IsActiveSMBusFlag_PECERR
Parameters
FMPI2CxFMPI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1658 of file stm32f4xx_ll_fmpi2c.h.

◆ LL_FMPI2C_IsActiveSMBusFlag_TIMEOUT()

__STATIC_INLINE uint32_t LL_FMPI2C_IsActiveSMBusFlag_TIMEOUT ( const FMPI2C_TypeDef *  FMPI2Cx)

Indicate the status of SMBus Timeout detection flag.

Note
The macro IS_FMPSMBUS_ALL_INSTANCE(FMPI2Cx) can be used to check whether or not SMBus feature is supported by the FMPI2Cx Instance.
RESET: Clear default value. SET: When a timeout or extended clock timeout occurs. @rmtoll ISR TIMEOUT LL_FMPI2C_IsActiveSMBusFlag_TIMEOUT
Parameters
FMPI2CxFMPI2C Instance.
Return values
Stateof bit (1 or 0).

Definition at line 1673 of file stm32f4xx_ll_fmpi2c.h.