STM32F103xB HAL User Manual
|
Defines | |
#define | IS_LL_SPI_TRANSFER_DIRECTION(__VALUE__) |
#define | IS_LL_SPI_MODE(__VALUE__) |
#define | IS_LL_SPI_DATAWIDTH(__VALUE__) |
#define | IS_LL_SPI_POLARITY(__VALUE__) |
#define | IS_LL_SPI_PHASE(__VALUE__) |
#define | IS_LL_SPI_NSS(__VALUE__) |
#define | IS_LL_SPI_BAUDRATE(__VALUE__) |
#define | IS_LL_SPI_BITORDER(__VALUE__) |
#define | IS_LL_SPI_CRCCALCULATION(__VALUE__) |
#define | IS_LL_SPI_CRC_POLYNOMIAL(__VALUE__) ((__VALUE__) >= 0x1U) |
#define IS_LL_SPI_BAUDRATE | ( | __VALUE__ | ) |
(((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV2) \ || ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV4) \ || ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV8) \ || ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV16) \ || ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV32) \ || ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV64) \ || ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV128) \ || ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV256))
Definition at line 84 of file stm32f1xx_ll_spi.c.
Referenced by LL_SPI_Init().
#define IS_LL_SPI_BITORDER | ( | __VALUE__ | ) |
(((__VALUE__) == LL_SPI_LSB_FIRST) \ || ((__VALUE__) == LL_SPI_MSB_FIRST))
Definition at line 93 of file stm32f1xx_ll_spi.c.
Referenced by LL_SPI_Init().
#define IS_LL_SPI_CRC_POLYNOMIAL | ( | __VALUE__ | ) | ((__VALUE__) >= 0x1U) |
Definition at line 99 of file stm32f1xx_ll_spi.c.
Referenced by LL_SPI_Init().
#define IS_LL_SPI_CRCCALCULATION | ( | __VALUE__ | ) |
(((__VALUE__) == LL_SPI_CRCCALCULATION_ENABLE) \ || ((__VALUE__) == LL_SPI_CRCCALCULATION_DISABLE))
Definition at line 96 of file stm32f1xx_ll_spi.c.
Referenced by LL_SPI_Init().
#define IS_LL_SPI_DATAWIDTH | ( | __VALUE__ | ) |
(((__VALUE__) == LL_SPI_DATAWIDTH_8BIT) \ || ((__VALUE__) == LL_SPI_DATAWIDTH_16BIT))
Definition at line 71 of file stm32f1xx_ll_spi.c.
Referenced by LL_SPI_Init().
#define IS_LL_SPI_MODE | ( | __VALUE__ | ) |
(((__VALUE__) == LL_SPI_MODE_MASTER) \ || ((__VALUE__) == LL_SPI_MODE_SLAVE))
Definition at line 68 of file stm32f1xx_ll_spi.c.
Referenced by LL_SPI_Init().
#define IS_LL_SPI_NSS | ( | __VALUE__ | ) |
(((__VALUE__) == LL_SPI_NSS_SOFT) \ || ((__VALUE__) == LL_SPI_NSS_HARD_INPUT) \ || ((__VALUE__) == LL_SPI_NSS_HARD_OUTPUT))
Definition at line 80 of file stm32f1xx_ll_spi.c.
Referenced by LL_SPI_Init().
#define IS_LL_SPI_PHASE | ( | __VALUE__ | ) |
(((__VALUE__) == LL_SPI_PHASE_1EDGE) \ || ((__VALUE__) == LL_SPI_PHASE_2EDGE))
Definition at line 77 of file stm32f1xx_ll_spi.c.
Referenced by LL_SPI_Init().
#define IS_LL_SPI_POLARITY | ( | __VALUE__ | ) |
(((__VALUE__) == LL_SPI_POLARITY_LOW) \ || ((__VALUE__) == LL_SPI_POLARITY_HIGH))
Definition at line 74 of file stm32f1xx_ll_spi.c.
Referenced by LL_SPI_Init().
#define IS_LL_SPI_TRANSFER_DIRECTION | ( | __VALUE__ | ) |
(((__VALUE__) == LL_SPI_FULL_DUPLEX) \ || ((__VALUE__) == LL_SPI_SIMPLEX_RX) \ || ((__VALUE__) == LL_SPI_HALF_DUPLEX_RX) \ || ((__VALUE__) == LL_SPI_HALF_DUPLEX_TX))
Definition at line 63 of file stm32f1xx_ll_spi.c.
Referenced by LL_SPI_Init().