Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
FLAG_Management
[SPI Exported Functions]
Functions | |
| __STATIC_INLINE uint32_t | LL_SPI_IsActiveFlag_RXNE (SPI_TypeDef *SPIx) |
| Check if Rx buffer is not empty SR RXNE LL_SPI_IsActiveFlag_RXNE. | |
| __STATIC_INLINE uint32_t | LL_SPI_IsActiveFlag_TXE (SPI_TypeDef *SPIx) |
| Check if Tx buffer is empty SR TXE LL_SPI_IsActiveFlag_TXE. | |
| __STATIC_INLINE uint32_t | LL_SPI_IsActiveFlag_UDR (SPI_TypeDef *SPIx) |
| Get Underrun error flag SR UDR LL_SPI_IsActiveFlag_UDR. | |
| __STATIC_INLINE uint32_t | LL_SPI_IsActiveFlag_CRCERR (SPI_TypeDef *SPIx) |
| Get CRC error flag SR CRCERR LL_SPI_IsActiveFlag_CRCERR. | |
| __STATIC_INLINE uint32_t | LL_SPI_IsActiveFlag_MODF (SPI_TypeDef *SPIx) |
| Get Mode fault error flag SR MODF LL_SPI_IsActiveFlag_MODF. | |
| __STATIC_INLINE uint32_t | LL_SPI_IsActiveFlag_OVR (SPI_TypeDef *SPIx) |
| Get Overrun error flag SR OVR LL_SPI_IsActiveFlag_OVR. | |
| __STATIC_INLINE uint32_t | LL_SPI_IsActiveFlag_BSY (SPI_TypeDef *SPIx) |
| Get Busy flag. | |
| __STATIC_INLINE uint32_t | LL_SPI_IsActiveFlag_FRE (SPI_TypeDef *SPIx) |
| Get Frame format error flag SR FRE LL_SPI_IsActiveFlag_FRE. | |
| __STATIC_INLINE uint32_t | LL_SPI_GetRxFIFOLevel (SPI_TypeDef *SPIx) |
| Get FIFO reception Level SR FRLVL LL_SPI_GetRxFIFOLevel. | |
| __STATIC_INLINE uint32_t | LL_SPI_GetTxFIFOLevel (SPI_TypeDef *SPIx) |
| Get FIFO Transmission Level SR FTLVL LL_SPI_GetTxFIFOLevel. | |
| __STATIC_INLINE void | LL_SPI_ClearFlag_UDR (SPI_TypeDef *SPIx) |
| Clear Underrun error flag SR UDR LL_SPI_ClearFlag_UDR. | |
| __STATIC_INLINE void | LL_SPI_ClearFlag_CRCERR (SPI_TypeDef *SPIx) |
| Clear CRC error flag SR CRCERR LL_SPI_ClearFlag_CRCERR. | |
| __STATIC_INLINE void | LL_SPI_ClearFlag_MODF (SPI_TypeDef *SPIx) |
| Clear Mode fault error flag SR MODF LL_SPI_ClearFlag_MODF. | |
| __STATIC_INLINE void | LL_SPI_ClearFlag_OVR (SPI_TypeDef *SPIx) |
| Clear Overrun error flag SR OVR LL_SPI_ClearFlag_OVR. | |
| __STATIC_INLINE void | LL_SPI_ClearFlag_FRE (SPI_TypeDef *SPIx) |
| Clear Frame format error flag SR FRE LL_SPI_ClearFlag_FRE. | |
Function Documentation
| __STATIC_INLINE void LL_SPI_ClearFlag_CRCERR | ( | SPI_TypeDef * | SPIx ) |
Clear CRC error flag SR CRCERR LL_SPI_ClearFlag_CRCERR.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
None
Definition at line 1017 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE void LL_SPI_ClearFlag_FRE | ( | SPI_TypeDef * | SPIx ) |
Clear Frame format error flag SR FRE LL_SPI_ClearFlag_FRE.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
None
Definition at line 1058 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE void LL_SPI_ClearFlag_MODF | ( | SPI_TypeDef * | SPIx ) |
Clear Mode fault error flag SR MODF LL_SPI_ClearFlag_MODF.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
None
Definition at line 1028 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE void LL_SPI_ClearFlag_OVR | ( | SPI_TypeDef * | SPIx ) |
Clear Overrun error flag SR OVR LL_SPI_ClearFlag_OVR.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
None
Definition at line 1043 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE void LL_SPI_ClearFlag_UDR | ( | SPI_TypeDef * | SPIx ) |
Clear Underrun error flag SR UDR LL_SPI_ClearFlag_UDR.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
None
Definition at line 1004 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_GetRxFIFOLevel | ( | SPI_TypeDef * | SPIx ) |
Get FIFO reception Level SR FRLVL LL_SPI_GetRxFIFOLevel.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
Returned value can be one of the following values: - LL_SPI_RX_FIFO_EMPTY
- LL_SPI_RX_FIFO_QUARTER_FULL
- LL_SPI_RX_FIFO_HALF_FULL
- LL_SPI_RX_FIFO_FULL
Definition at line 978 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_GetTxFIFOLevel | ( | SPI_TypeDef * | SPIx ) |
Get FIFO Transmission Level SR FTLVL LL_SPI_GetTxFIFOLevel.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
Returned value can be one of the following values: - LL_SPI_TX_FIFO_EMPTY
- LL_SPI_TX_FIFO_QUARTER_FULL
- LL_SPI_TX_FIFO_HALF_FULL
- LL_SPI_TX_FIFO_FULL
Definition at line 993 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_BSY | ( | SPI_TypeDef * | SPIx ) |
Get Busy flag.
- Note:
- The BSY flag is cleared under any one of the following conditions: -When the SPI is correctly disabled -When a fault is detected in Master mode (MODF bit set to 1) -In Master mode, when it finishes a data transmission and no new data is ready to be sent -In Slave mode, when the BSY flag is set to '0' for at least one SPI clock cycle between each data transfer. SR BSY LL_SPI_IsActiveFlag_BSY
- Parameters:
-
SPIx SPI Instance
- Return values:
-
State of bit (1 or 0).
Definition at line 952 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_CRCERR | ( | SPI_TypeDef * | SPIx ) |
Get CRC error flag SR CRCERR LL_SPI_IsActiveFlag_CRCERR.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
State of bit (1 or 0).
Definition at line 912 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_FRE | ( | SPI_TypeDef * | SPIx ) |
Get Frame format error flag SR FRE LL_SPI_IsActiveFlag_FRE.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
State of bit (1 or 0).
Definition at line 963 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_MODF | ( | SPI_TypeDef * | SPIx ) |
Get Mode fault error flag SR MODF LL_SPI_IsActiveFlag_MODF.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
State of bit (1 or 0).
Definition at line 923 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_OVR | ( | SPI_TypeDef * | SPIx ) |
Get Overrun error flag SR OVR LL_SPI_IsActiveFlag_OVR.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
State of bit (1 or 0).
Definition at line 934 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_RXNE | ( | SPI_TypeDef * | SPIx ) |
Check if Rx buffer is not empty SR RXNE LL_SPI_IsActiveFlag_RXNE.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
State of bit (1 or 0).
Definition at line 879 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_TXE | ( | SPI_TypeDef * | SPIx ) |
Check if Tx buffer is empty SR TXE LL_SPI_IsActiveFlag_TXE.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
State of bit (1 or 0).
Definition at line 890 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_UDR | ( | SPI_TypeDef * | SPIx ) |
Get Underrun error flag SR UDR LL_SPI_IsActiveFlag_UDR.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
State of bit (1 or 0).
Definition at line 901 of file stm32l4xx_ll_spi.h.
Generated on Tue Jul 12 2022 11:35:26 by
1.7.2
