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

IS_SPI_CPOL macro

Checks if SPI Serial clock steady state parameter is in allowed range.

Syntax

#define IS_SPI_CPOL(__CPOL__) (((__CPOL__) == SPI_POLARITY_LOW) || \     ((__CPOL__) == SPI_POLARITY_HIGH))

Arguments

__CPOL__

specifies the SPI serial clock steady state. This parameter can be a value of SPI_Clock_Polarity

Return value

None

References

LocationText
stm32f4xx_hal_spi.h:565
#define IS_SPI_CPOL(__CPOL__) (((__CPOL__) == SPI_POLARITY_LOW) || \
stm32f4xx_hal_spi.c:330
assert_param(IS_SPI_CPOL(hspi->Init.CLKPolarity));