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