Reference Manual to
LL API cross
reference:
CR1 CRCEN LL_SPI_DisableCRC
LL_SPI_IsEnabledCRC
__STATIC_INLINE uint32_t LL_SPI_IsEnabledCRC
(SPI_TypeDef * SPIx)
This bit should be written only when SPI is disabled (SPE = 0)
for correct operation.
Reference Manual to
LL API cross
reference:
CR1 CRCEN LL_SPI_IsEnabledCRC
LL_SPI_SetCRCNext
__STATIC_INLINE void LL_SPI_SetCRCNext (SPI_TypeDef *
SPIx)
Set CRCNext to transfer CRC on the line.
This bit has to be written as soon as the last data is written in
the SPIx_DR register.
Reference Manual to
LL API cross
reference:
CR1 CRCNEXT LL_SPI_SetCRCNext
LL_SPI_SetCRCPolynomial
__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
Reference Manual to
LL API cross
reference:
CRCPR CRCPOLY LL_SPI_SetCRCPolynomial
LL_SPI_GetCRCPolynomial
__STATIC_INLINE uint32_t LL_SPI_GetCRCPolynomial