HAL
IS_SPI_CRC_CALCULATION
is only used within HAL.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
HAL
IS_SPI_CRC_CALCULATION
IS_SPI_CRC_CALCULATION macro
Checks if SPI CRC calculation enabled state is in allowed range.
Syntax
from
stm32f4xx_hal_spi.h:620
#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
Location
Text
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
)
)
;