|
STM32L4xx_HAL_Driver
1.14.0
|
Functions | |
| __STATIC_INLINE void | LL_SPI_EnableCRC (SPI_TypeDef *SPIx) |
| Enable CRC. More... | |
| __STATIC_INLINE void | LL_SPI_DisableCRC (SPI_TypeDef *SPIx) |
| Disable CRC. More... | |
| __STATIC_INLINE uint32_t | LL_SPI_IsEnabledCRC (SPI_TypeDef *SPIx) |
| Check if CRC is enabled. More... | |
| __STATIC_INLINE void | LL_SPI_SetCRCWidth (SPI_TypeDef *SPIx, uint32_t CRCLength) |
| Set CRC Length. More... | |
| __STATIC_INLINE uint32_t | LL_SPI_GetCRCWidth (SPI_TypeDef *SPIx) |
| Get CRC Length CR1 CRCL LL_SPI_GetCRCWidth. More... | |
| __STATIC_INLINE void | LL_SPI_SetCRCNext (SPI_TypeDef *SPIx) |
| Set CRCNext to transfer CRC on the line. More... | |
| __STATIC_INLINE void | LL_SPI_SetCRCPolynomial (SPI_TypeDef *SPIx, uint32_t CRCPoly) |
| Set polynomial for CRC calculation CRCPR CRCPOLY LL_SPI_SetCRCPolynomial. More... | |
| __STATIC_INLINE uint32_t | LL_SPI_GetCRCPolynomial (SPI_TypeDef *SPIx) |
| Get polynomial for CRC calculation CRCPR CRCPOLY LL_SPI_GetCRCPolynomial. More... | |
| __STATIC_INLINE uint32_t | LL_SPI_GetRxCRC (SPI_TypeDef *SPIx) |
| Get Rx CRC RXCRCR RXCRC LL_SPI_GetRxCRC. More... | |
| __STATIC_INLINE uint32_t | LL_SPI_GetTxCRC (SPI_TypeDef *SPIx) |
| Get Tx CRC TXCRCR TXCRC LL_SPI_GetTxCRC. More... | |
| __STATIC_INLINE void LL_SPI_DisableCRC | ( | SPI_TypeDef * | SPIx | ) |
Disable CRC.
| SPIx | SPI Instance |
| None |
Definition at line 711 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE void LL_SPI_EnableCRC | ( | SPI_TypeDef * | SPIx | ) |
Enable CRC.
| SPIx | SPI Instance |
| None |
Definition at line 699 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_GetCRCPolynomial | ( | SPI_TypeDef * | SPIx | ) |
Get polynomial for CRC calculation CRCPR CRCPOLY LL_SPI_GetCRCPolynomial.
| SPIx | SPI Instance |
| Returned | value is a number between Min_Data = 0x00 and Max_Data = 0xFFFF |
Definition at line 786 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_GetCRCWidth | ( | SPI_TypeDef * | SPIx | ) |
Get CRC Length CR1 CRCL LL_SPI_GetCRCWidth.
| SPIx | SPI Instance |
| Returned | value can be one of the following values:
|
Definition at line 751 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_GetRxCRC | ( | SPI_TypeDef * | SPIx | ) |
Get Rx CRC RXCRCR RXCRC LL_SPI_GetRxCRC.
| SPIx | SPI Instance |
| Returned | value is a number between Min_Data = 0x00 and Max_Data = 0xFFFF |
Definition at line 797 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_GetTxCRC | ( | SPI_TypeDef * | SPIx | ) |
Get Tx CRC TXCRCR TXCRC LL_SPI_GetTxCRC.
| SPIx | SPI Instance |
| Returned | value is a number between Min_Data = 0x00 and Max_Data = 0xFFFF |
Definition at line 808 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_IsEnabledCRC | ( | SPI_TypeDef * | SPIx | ) |
Check if CRC is enabled.
| SPIx | SPI Instance |
| State | of bit (1 or 0). |
Definition at line 723 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE void LL_SPI_SetCRCNext | ( | SPI_TypeDef * | SPIx | ) |
Set CRCNext to transfer CRC on the line.
| SPIx | SPI Instance |
| None |
Definition at line 763 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE void LL_SPI_SetCRCPolynomial | ( | SPI_TypeDef * | SPIx, |
| uint32_t | CRCPoly | ||
| ) |
Set polynomial for CRC calculation CRCPR CRCPOLY LL_SPI_SetCRCPolynomial.
| SPIx | SPI Instance |
| CRCPoly | This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFFFF |
| None |
Definition at line 775 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE void LL_SPI_SetCRCWidth | ( | SPI_TypeDef * | SPIx, |
| uint32_t | CRCLength | ||
| ) |
Set CRC Length.
| SPIx | SPI Instance |
| CRCLength | This parameter can be one of the following values:
|
| None |
Definition at line 738 of file stm32l4xx_ll_spi.h.