STM32F479xx 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_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 601 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_EnableCRC | ( | SPI_TypeDef * | SPIx | ) |
Enable CRC.
SPIx | SPI Instance |
None |
Definition at line 589 of file stm32f4xx_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 648 of file stm32f4xx_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 659 of file stm32f4xx_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 670 of file stm32f4xx_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 613 of file stm32f4xx_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 625 of file stm32f4xx_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 637 of file stm32f4xx_ll_spi.h.
Referenced by LL_SPI_Init().