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

IS_SPI_DIRECTION_2LINES macro

Checks if SPI Direction Mode parameter is 2 lines.

Syntax

#define IS_SPI_DIRECTION_2LINES(__MODE__) ((__MODE__) == SPI_DIRECTION_2LINES)

Arguments

__MODE__

specifies the SPI Direction Mode.

Return value

None

References

LocationText
stm32f4xx_hal_spi.h:543
#define IS_SPI_DIRECTION_2LINES(__MODE__) ((__MODE__) == SPI_DIRECTION_2LINES)
stm32f4xx_hal_spi.c:1158
assert_param(IS_SPI_DIRECTION_2LINES(hspi->Init.Direction));
stm32f4xx_hal_spi.c:1582
assert_param(IS_SPI_DIRECTION_2LINES(hspi->Init.Direction));
stm32f4xx_hal_spi.c:1897
assert_param(IS_SPI_DIRECTION_2LINES(hspi->Init.Direction));