STM32H735xx HAL User Manual
Functions
FLAG_Management
SPI Exported Functions

Functions

__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_RXP (SPI_TypeDef *SPIx)
 Check if there is enough data in FIFO to read a full packet.
__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_TXP (SPI_TypeDef *SPIx)
 Check if there is enough space in FIFO to hold a full packet.
__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_DXP (SPI_TypeDef *SPIx)
 Check if there enough space in FIFO to hold a full packet, AND enough data to read a full packet.
__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_EOT (SPI_TypeDef *SPIx)
 Check that end of transfer event occurred.
__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_TXTF (SPI_TypeDef *SPIx)
 Check that all required data has been filled in the fifo according to transfer size.
__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_UDR (SPI_TypeDef *SPIx)
 Get Underrun error flag.
__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_CRCERR (SPI_TypeDef *SPIx)
 Get CRC error flag.
__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_MODF (SPI_TypeDef *SPIx)
 Get Mode fault error flag.
__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_OVR (SPI_TypeDef *SPIx)
 Get Overrun error flag.
__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_FRE (SPI_TypeDef *SPIx)
 Get TI Frame format error flag.
__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_TSER (SPI_TypeDef *SPIx)
 Check if the additional number of data has been reloaded.
__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_SUSP (SPI_TypeDef *SPIx)
 Check if a suspend operation is done.
__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_TXC (SPI_TypeDef *SPIx)
 Check if last TxFIFO or CRC frame transmission is completed.
__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_RXWNE (SPI_TypeDef *SPIx)
 Check if at least one 32-bit data is available in RxFIFO.
__STATIC_INLINE uint32_t LL_SPI_GetRemainingDataFrames (SPI_TypeDef *SPIx)
 Get number of data framed remaining in current TSIZE.
__STATIC_INLINE uint32_t LL_SPI_GetRxFIFOPackingLevel (SPI_TypeDef *SPIx)
 Get RxFIFO packing Level.
__STATIC_INLINE void LL_SPI_ClearFlag_EOT (SPI_TypeDef *SPIx)
 Clear End Of Transfer flag.
__STATIC_INLINE void LL_SPI_ClearFlag_TXTF (SPI_TypeDef *SPIx)
 Clear TXTF flag.
__STATIC_INLINE void LL_SPI_ClearFlag_UDR (SPI_TypeDef *SPIx)
 Clear Underrun error flag.
__STATIC_INLINE void LL_SPI_ClearFlag_OVR (SPI_TypeDef *SPIx)
 Clear Overrun error flag.
__STATIC_INLINE void LL_SPI_ClearFlag_CRCERR (SPI_TypeDef *SPIx)
 Clear CRC error flag.
__STATIC_INLINE void LL_SPI_ClearFlag_MODF (SPI_TypeDef *SPIx)
 Clear Mode fault error flag.
__STATIC_INLINE void LL_SPI_ClearFlag_FRE (SPI_TypeDef *SPIx)
 Clear Frame format error flag.
__STATIC_INLINE void LL_SPI_ClearFlag_TSER (SPI_TypeDef *SPIx)
 Clear TSER flag.
__STATIC_INLINE void LL_SPI_ClearFlag_SUSP (SPI_TypeDef *SPIx)
 Clear SUSP flag.

Function Documentation

__STATIC_INLINE void LL_SPI_ClearFlag_CRCERR ( SPI_TypeDef *  SPIx)

Clear CRC error flag.

Reference Manual to LL API cross reference:
IFCR CRCEC LL_SPI_ClearFlag_CRCERR
Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1922 of file stm32h7xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_ClearFlag_EOT ( SPI_TypeDef *  SPIx)

Clear End Of Transfer flag.

Reference Manual to LL API cross reference:
IFCR EOTC LL_SPI_ClearFlag_EOT
Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1878 of file stm32h7xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_ClearFlag_FRE ( SPI_TypeDef *  SPIx)

Clear Frame format error flag.

Reference Manual to LL API cross reference:
IFCR TIFREC LL_SPI_ClearFlag_FRE
Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1944 of file stm32h7xx_ll_spi.h.

Referenced by LL_I2S_ClearFlag_FRE().

__STATIC_INLINE void LL_SPI_ClearFlag_MODF ( SPI_TypeDef *  SPIx)

Clear Mode fault error flag.

Reference Manual to LL API cross reference:
IFCR MODFC LL_SPI_ClearFlag_MODF
Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1933 of file stm32h7xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_ClearFlag_OVR ( SPI_TypeDef *  SPIx)

Clear Overrun error flag.

Reference Manual to LL API cross reference:
IFCR OVRC LL_SPI_ClearFlag_OVR
Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1911 of file stm32h7xx_ll_spi.h.

Referenced by LL_I2S_ClearFlag_OVR().

__STATIC_INLINE void LL_SPI_ClearFlag_SUSP ( SPI_TypeDef *  SPIx)

Clear SUSP flag.

Reference Manual to LL API cross reference:
IFCR SUSPC LL_SPI_ClearFlag_SUSP
Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1966 of file stm32h7xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_ClearFlag_TSER ( SPI_TypeDef *  SPIx)

Clear TSER flag.

Reference Manual to LL API cross reference:
IFCR TSERFC LL_SPI_ClearFlag_TSER
Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1955 of file stm32h7xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_ClearFlag_TXTF ( SPI_TypeDef *  SPIx)

Clear TXTF flag.

Reference Manual to LL API cross reference:
IFCR TXTFC LL_SPI_ClearFlag_TXTF
Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1889 of file stm32h7xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_ClearFlag_UDR ( SPI_TypeDef *  SPIx)

Clear Underrun error flag.

Reference Manual to LL API cross reference:
IFCR UDRC LL_SPI_ClearFlag_UDR
Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1900 of file stm32h7xx_ll_spi.h.

Referenced by LL_I2S_ClearFlag_UDR().

__STATIC_INLINE uint32_t LL_SPI_GetRemainingDataFrames ( SPI_TypeDef *  SPIx)

Get number of data framed remaining in current TSIZE.

Reference Manual to LL API cross reference:
SR CTSIZE LL_SPI_GetRemainingDataFrames
Parameters:
SPIxSPI Instance
Return values:
0..0xFFFF

Definition at line 1852 of file stm32h7xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_GetRxFIFOPackingLevel ( SPI_TypeDef *  SPIx)

Get RxFIFO packing Level.

Reference Manual to LL API cross reference:
SR RXPLVL LL_SPI_GetRxFIFOPackingLevel
Parameters:
SPIxSPI Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 1867 of file stm32h7xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_CRCERR ( SPI_TypeDef *  SPIx)

Get CRC error flag.

Reference Manual to LL API cross reference:
SR CRCE LL_SPI_IsActiveFlag_CRCERR
Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1764 of file stm32h7xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_DXP ( SPI_TypeDef *  SPIx)

Check if there enough space in FIFO to hold a full packet, AND enough data to read a full packet.

Reference Manual to LL API cross reference:
SR DXP LL_SPI_IsActiveFlag_DXP
Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0)

Definition at line 1720 of file stm32h7xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_EOT ( SPI_TypeDef *  SPIx)

Check that end of transfer event occurred.

Reference Manual to LL API cross reference:
SR EOT LL_SPI_IsActiveFlag_EOT
Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1731 of file stm32h7xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_FRE ( SPI_TypeDef *  SPIx)

Get TI Frame format error flag.

Reference Manual to LL API cross reference:
SR TIFRE LL_SPI_IsActiveFlag_FRE
Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1797 of file stm32h7xx_ll_spi.h.

Referenced by LL_I2S_IsActiveFlag_FRE().

__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_MODF ( SPI_TypeDef *  SPIx)

Get Mode fault error flag.

Reference Manual to LL API cross reference:
SR MODF LL_SPI_IsActiveFlag_MODF
Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1775 of file stm32h7xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_OVR ( SPI_TypeDef *  SPIx)

Get Overrun error flag.

Reference Manual to LL API cross reference:
SR OVR LL_SPI_IsActiveFlag_OVR
Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1786 of file stm32h7xx_ll_spi.h.

Referenced by LL_I2S_IsActiveFlag_OVR().

__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_RXP ( SPI_TypeDef *  SPIx)

Check if there is enough data in FIFO to read a full packet.

Reference Manual to LL API cross reference:
SR RXP LL_SPI_IsActiveFlag_RXP
Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0)

Definition at line 1698 of file stm32h7xx_ll_spi.h.

Referenced by LL_I2S_IsActiveFlag_RXP().

__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_RXWNE ( SPI_TypeDef *  SPIx)

Check if at least one 32-bit data is available in RxFIFO.

Reference Manual to LL API cross reference:
SR RXWNE LL_SPI_IsActiveFlag_RXWNE
Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0)

Definition at line 1841 of file stm32h7xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_SUSP ( SPI_TypeDef *  SPIx)

Check if a suspend operation is done.

Reference Manual to LL API cross reference:
SR SUSP LL_SPI_IsActiveFlag_SUSP
Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0)

Definition at line 1819 of file stm32h7xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_TSER ( SPI_TypeDef *  SPIx)

Check if the additional number of data has been reloaded.

Reference Manual to LL API cross reference:
SR TSERF LL_SPI_IsActiveFlag_TSER
Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1808 of file stm32h7xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_TXC ( SPI_TypeDef *  SPIx)

Check if last TxFIFO or CRC frame transmission is completed.

Reference Manual to LL API cross reference:
SR TXC LL_SPI_IsActiveFlag_TXC
Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1830 of file stm32h7xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_TXP ( SPI_TypeDef *  SPIx)

Check if there is enough space in FIFO to hold a full packet.

Reference Manual to LL API cross reference:
SR TXP LL_SPI_IsActiveFlag_TXP
Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0)

Definition at line 1709 of file stm32h7xx_ll_spi.h.

Referenced by LL_I2S_IsActiveFlag_TXP().

__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_TXTF ( SPI_TypeDef *  SPIx)

Check that all required data has been filled in the fifo according to transfer size.

Reference Manual to LL API cross reference:
SR TXTF LL_SPI_IsActiveFlag_TXTF
Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1742 of file stm32h7xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_UDR ( SPI_TypeDef *  SPIx)

Get Underrun error flag.

Reference Manual to LL API cross reference:
SR UDR LL_SPI_IsActiveFlag_UDR
Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1753 of file stm32h7xx_ll_spi.h.

Referenced by LL_I2S_IsActiveFlag_UDR().