STM32F4xx_HAL_Driver
1.8.3
|
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 (const SPI_TypeDef *SPIx) |
Check if CRC is enabled. 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 @rmtoll CRCPR CRCPOLY LL_SPI_SetCRCPolynomial. More... | |
__STATIC_INLINE uint32_t | LL_SPI_GetCRCPolynomial (const SPI_TypeDef *SPIx) |
Get polynomial for CRC calculation @rmtoll CRCPR CRCPOLY LL_SPI_GetCRCPolynomial. More... | |
__STATIC_INLINE uint32_t | LL_SPI_GetRxCRC (const SPI_TypeDef *SPIx) |
Get Rx CRC @rmtoll RXCRCR RXCRC LL_SPI_GetRxCRC. More... | |
__STATIC_INLINE uint32_t | LL_SPI_GetTxCRC (const SPI_TypeDef *SPIx) |
Get Tx CRC @rmtoll TXCRCR TXCRC LL_SPI_GetTxCRC. More... | |
__STATIC_INLINE void LL_SPI_DisableCRC | ( | SPI_TypeDef * | SPIx | ) |
Disable CRC.
SPIx | SPI Instance |
None |
Definition at line 600 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_EnableCRC | ( | SPI_TypeDef * | SPIx | ) |
Enable CRC.
SPIx | SPI Instance |
None |
Definition at line 588 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetCRCPolynomial | ( | const SPI_TypeDef * | SPIx | ) |
Get polynomial for CRC calculation @rmtoll CRCPR CRCPOLY LL_SPI_GetCRCPolynomial.
SPIx | SPI Instance |
Returned | value is a number between Min_Data = 0x00 and Max_Data = 0xFFFF |
Definition at line 647 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetRxCRC | ( | const SPI_TypeDef * | SPIx | ) |
Get Rx CRC @rmtoll RXCRCR RXCRC LL_SPI_GetRxCRC.
SPIx | SPI Instance |
Returned | value is a number between Min_Data = 0x00 and Max_Data = 0xFFFF |
Definition at line 658 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetTxCRC | ( | const SPI_TypeDef * | SPIx | ) |
Get Tx CRC @rmtoll TXCRCR TXCRC LL_SPI_GetTxCRC.
SPIx | SPI Instance |
Returned | value is a number between Min_Data = 0x00 and Max_Data = 0xFFFF |
Definition at line 669 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_IsEnabledCRC | ( | const SPI_TypeDef * | SPIx | ) |
Check if CRC is enabled.
SPIx | SPI Instance |
State | of bit (1 or 0). |
Definition at line 612 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 624 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetCRCPolynomial | ( | SPI_TypeDef * | SPIx, |
uint32_t | CRCPoly | ||
) |
Set polynomial for CRC calculation @rmtoll 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 636 of file stm32f4xx_ll_spi.h.