HAL
SPI_RESET_CRC is only used within HAL.
 
Symbols
loading...
Files
loading...

SPI_RESET_CRC macro

Reset the CRC calculation of the SPI.

Syntax

#define SPI_RESET_CRC(__HANDLE__) do{CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_CRCEN);\     SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_CRCEN);}while(0U)

Arguments

__HANDLE__

specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.

Return value

None

References

LocationText
stm32f4xx_hal_spi.h:491
#define SPI_RESET_CRC(__HANDLE__) do{CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_CRCEN);\
stm32f4xx_hal_spi.c:823
SPI_RESET_CRC(hspi);
stm32f4xx_hal_spi.c:990
SPI_RESET_CRC(hspi);
stm32f4xx_hal_spi.c:1207
SPI_RESET_CRC(hspi);
stm32f4xx_hal_spi.c:1451
SPI_RESET_CRC(hspi);
stm32f4xx_hal_spi.c:1542
SPI_RESET_CRC(hspi);
stm32f4xx_hal_spi.c:1635
SPI_RESET_CRC(hspi);
stm32f4xx_hal_spi.c:1715
SPI_RESET_CRC(hspi);
stm32f4xx_hal_spi.c:1829
SPI_RESET_CRC(hspi);
stm32f4xx_hal_spi.c:1942
SPI_RESET_CRC(hspi);
stm32f4xx_hal_spi.c:3553
SPI_RESET_CRC(hspi);