STM32L443xx HAL User Manual
|
Functions | |
__STATIC_INLINE void | LL_SPI_EnableCRC (SPI_TypeDef *SPIx) |
Enable CRC. | |
__STATIC_INLINE void | LL_SPI_DisableCRC (SPI_TypeDef *SPIx) |
Disable CRC. | |
__STATIC_INLINE uint32_t | LL_SPI_IsEnabledCRC (SPI_TypeDef *SPIx) |
Check if CRC is enabled. | |
__STATIC_INLINE void | LL_SPI_SetCRCWidth (SPI_TypeDef *SPIx, uint32_t CRCLength) |
Set CRC Length. | |
__STATIC_INLINE uint32_t | LL_SPI_GetCRCWidth (SPI_TypeDef *SPIx) |
Get CRC Length. | |
__STATIC_INLINE void | LL_SPI_SetCRCNext (SPI_TypeDef *SPIx) |
Set CRCNext to transfer CRC on the line. | |
__STATIC_INLINE void | LL_SPI_SetCRCPolynomial (SPI_TypeDef *SPIx, uint32_t CRCPoly) |
Set polynomial for CRC calculation. | |
__STATIC_INLINE uint32_t | LL_SPI_GetCRCPolynomial (SPI_TypeDef *SPIx) |
Get polynomial for CRC calculation. | |
__STATIC_INLINE uint32_t | LL_SPI_GetRxCRC (SPI_TypeDef *SPIx) |
Get Rx CRC. | |
__STATIC_INLINE uint32_t | LL_SPI_GetTxCRC (SPI_TypeDef *SPIx) |
Get Tx CRC. |
__STATIC_INLINE void LL_SPI_DisableCRC | ( | SPI_TypeDef * | SPIx | ) |
Disable CRC.
SPIx | SPI Instance |
None |
Definition at line 710 of file stm32l4xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_EnableCRC | ( | SPI_TypeDef * | SPIx | ) |
Enable CRC.
SPIx | SPI Instance |
None |
Definition at line 698 of file stm32l4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetCRCPolynomial | ( | SPI_TypeDef * | SPIx | ) |
Get polynomial for CRC calculation.
SPIx | SPI Instance |
Returned | value is a number between Min_Data = 0x00 and Max_Data = 0xFFFF |
Definition at line 785 of file stm32l4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetCRCWidth | ( | SPI_TypeDef * | SPIx | ) |
Get CRC Length.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 750 of file stm32l4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetRxCRC | ( | SPI_TypeDef * | SPIx | ) |
Get Rx CRC.
SPIx | SPI Instance |
Returned | value is a number between Min_Data = 0x00 and Max_Data = 0xFFFF |
Definition at line 796 of file stm32l4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetTxCRC | ( | SPI_TypeDef * | SPIx | ) |
Get Tx CRC.
SPIx | SPI Instance |
Returned | value is a number between Min_Data = 0x00 and Max_Data = 0xFFFF |
Definition at line 807 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 722 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 762 of file stm32l4xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetCRCPolynomial | ( | SPI_TypeDef * | SPIx, |
uint32_t | CRCPoly | ||
) |
Set polynomial for CRC calculation.
SPIx | SPI Instance |
CRCPoly | This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFFFF |
None |
Definition at line 774 of file stm32l4xx_ll_spi.h.
Referenced by LL_SPI_Init().
__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 737 of file stm32l4xx_ll_spi.h.