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

IS_SPI_CRC_CALCULATION macro

Checks if SPI CRC calculation enabled state is in allowed range.

Syntax

#define IS_SPI_CRC_CALCULATION(__CALCULATION__) (((__CALCULATION__) == SPI_CRCCALCULATION_DISABLE) || \     ((__CALCULATION__) == SPI_CRCCALCULATION_ENABLE))

Arguments

__CALCULATION__

specifies the SPI CRC calculation enable state. This parameter can be a value of SPI_CRC_Calculation

Return value

None

References

LocationText
stm32f4xx_hal_spi.h:620
#define IS_SPI_CRC_CALCULATION(__CALCULATION__) (((__CALCULATION__) == SPI_CRCCALCULATION_DISABLE) || \
stm32f4xx_hal_spi.c:352
assert_param(IS_SPI_CRC_CALCULATION(hspi->Init.CRCCalculation));