Macros
Collaboration diagram for SPI Private Macros:

Macros

#define IS_SPI_BAUDRATE_PRESCALER(__PRESCALER__)
 Checks if SPI Baudrate prescaler parameter is in allowed range. More...
 
#define IS_SPI_BAUDRATE_PRESCALER(__PRESCALER__)
 Checks if SPI Baudrate prescaler parameter is in allowed range. More...
 
#define IS_SPI_BAUDRATE_PRESCALER(__PRESCALER__)
 Checks if SPI Baudrate prescaler parameter is in allowed range. More...
 
#define IS_SPI_BAUDRATE_PRESCALER(PRESCALER)
 
#define IS_SPI_CPHA(__CPHA__)
 Checks if SPI Clock Phase parameter is in allowed range. More...
 
#define IS_SPI_CPHA(__CPHA__)
 Checks if SPI Clock Phase parameter is in allowed range. More...
 
#define IS_SPI_CPHA(__CPHA__)
 Checks if SPI Clock Phase parameter is in allowed range. More...
 
#define IS_SPI_CPHA(CPHA)
 
#define IS_SPI_CPOL(__CPOL__)
 Checks if SPI Serial clock steady state parameter is in allowed range. More...
 
#define IS_SPI_CPOL(__CPOL__)
 Checks if SPI Serial clock steady state parameter is in allowed range. More...
 
#define IS_SPI_CPOL(__CPOL__)
 Checks if SPI Serial clock steady state parameter is in allowed range. More...
 
#define IS_SPI_CPOL(CPOL)
 
#define IS_SPI_CRC_CALCULATION(__CALCULATION__)
 Checks if SPI CRC calculation enabled state is in allowed range. More...
 
#define IS_SPI_CRC_CALCULATION(__CALCULATION__)
 Checks if SPI CRC calculation enabled state is in allowed range. More...
 
#define IS_SPI_CRC_CALCULATION(__CALCULATION__)
 Checks if SPI CRC calculation enabled state is in allowed range. More...
 
#define IS_SPI_CRC_CALCULATION(CALCULATION)
 
#define IS_SPI_CRC_INITIALIZATION_PATTERN(PATTERN)
 
#define IS_SPI_CRC_LENGTH(__LENGTH__)
 Checks if SPI CRC length is in allowed range. More...
 
#define IS_SPI_CRC_LENGTH(LENGTH)
 
#define IS_SPI_CRC_POLYNOMIAL(__POLYNOMIAL__)   (((__POLYNOMIAL__) >= 0x1U) && ((__POLYNOMIAL__) <= 0xFFFFU) && (((__POLYNOMIAL__)&0x1U) != 0U))
 Checks if SPI polynomial value to be used for the CRC calculation, is in allowed range. More...
 
#define IS_SPI_CRC_POLYNOMIAL(__POLYNOMIAL__)   (((__POLYNOMIAL__) >= 0x1U) && ((__POLYNOMIAL__) <= 0xFFFFU) && (((__POLYNOMIAL__)&0x1U) != 0U))
 Checks if SPI polynomial value to be used for the CRC calculation, is in allowed range. More...
 
#define IS_SPI_CRC_POLYNOMIAL(__POLYNOMIAL__)   (((__POLYNOMIAL__) >= 0x1U) && ((__POLYNOMIAL__) <= 0xFFFFU) && (((__POLYNOMIAL__)&0x1U) != 0U))
 Checks if SPI polynomial value to be used for the CRC calculation, is in allowed range. More...
 
#define IS_SPI_CRC_POLYNOMIAL(POLYNOMIAL)   ((POLYNOMIAL) >= 0x1UL)
 
#define IS_SPI_DATASIZE(__DATASIZE__)
 Checks if SPI Data Size parameter is in allowed range. More...
 
#define IS_SPI_DATASIZE(__DATASIZE__)
 Checks if SPI Data Size parameter is in allowed range. More...
 
#define IS_SPI_DATASIZE(__DATASIZE__)
 Checks if SPI Data Size parameter is in allowed range. More...
 
#define IS_SPI_DATASIZE(DATASIZE)
 
#define IS_SPI_DIRECTION(__MODE__)
 Checks if SPI Direction Mode parameter is in allowed range. More...
 
#define IS_SPI_DIRECTION(__MODE__)
 Checks if SPI Direction Mode parameter is in allowed range. More...
 
#define IS_SPI_DIRECTION(__MODE__)
 Checks if SPI Direction Mode parameter is in allowed range. More...
 
#define IS_SPI_DIRECTION(MODE)
 
#define IS_SPI_DIRECTION_2LINES(__MODE__)   ((__MODE__) == SPI_DIRECTION_2LINES)
 Checks if SPI Direction Mode parameter is 2 lines. More...
 
#define IS_SPI_DIRECTION_2LINES(__MODE__)   ((__MODE__) == SPI_DIRECTION_2LINES)
 Checks if SPI Direction Mode parameter is 2 lines. More...
 
#define IS_SPI_DIRECTION_2LINES(__MODE__)   ((__MODE__) == SPI_DIRECTION_2LINES)
 Checks if SPI Direction Mode parameter is 2 lines. More...
 
#define IS_SPI_DIRECTION_2LINES(MODE)   ((MODE) == SPI_DIRECTION_2LINES)
 
#define IS_SPI_DIRECTION_2LINES_OR_1LINE(__MODE__)
 Checks if SPI Direction Mode parameter is 1 or 2 lines. More...
 
#define IS_SPI_DIRECTION_2LINES_OR_1LINE(__MODE__)
 Checks if SPI Direction Mode parameter is 1 or 2 lines. More...
 
#define IS_SPI_DIRECTION_2LINES_OR_1LINE(__MODE__)
 Checks if SPI Direction Mode parameter is 1 or 2 lines. More...
 
#define IS_SPI_DIRECTION_2LINES_OR_1LINE_2LINES_RXONLY(MODE)
 
#define IS_SPI_DIRECTION_2LINES_OR_1LINE_2LINES_TXONLY(MODE)
 
#define IS_SPI_DMA_HANDLE(__HANDLE__)   ((__HANDLE__) != NULL)
 Checks if DMA handle is valid. More...
 
#define IS_SPI_DMA_HANDLE(__HANDLE__)   ((__HANDLE__) != NULL)
 Checks if DMA handle is valid. More...
 
#define IS_SPI_DMA_HANDLE(__HANDLE__)   ((__HANDLE__) != NULL)
 Checks if DMA handle is valid. More...
 
#define IS_SPI_FIFOTHRESHOLD(THRESHOLD)
 
#define IS_SPI_FIRST_BIT(__BIT__)
 Checks if SPI MSB LSB transmission parameter is in allowed range. More...
 
#define IS_SPI_FIRST_BIT(__BIT__)
 Checks if SPI MSB LSB transmission parameter is in allowed range. More...
 
#define IS_SPI_FIRST_BIT(__BIT__)
 Checks if SPI MSB LSB transmission parameter is in allowed range. More...
 
#define IS_SPI_FIRST_BIT(BIT)
 
#define IS_SPI_MODE(__MODE__)
 Checks if SPI Mode parameter is in allowed range. More...
 
#define IS_SPI_MODE(__MODE__)
 Checks if SPI Mode parameter is in allowed range. More...
 
#define IS_SPI_MODE(__MODE__)
 Checks if SPI Mode parameter is in allowed range. More...
 
#define IS_SPI_MODE(MODE)
 
#define IS_SPI_NSS(__NSS__)
 Checks if SPI Slave Select parameter is in allowed range. More...
 
#define IS_SPI_NSS(__NSS__)
 Checks if SPI Slave Select parameter is in allowed range. More...
 
#define IS_SPI_NSS(__NSS__)
 Checks if SPI Slave Select parameter is in allowed range. More...
 
#define IS_SPI_NSS(NSS)
 
#define IS_SPI_NSSP(__NSSP__)
 Checks if SPI NSS Pulse parameter is in allowed range. More...
 
#define IS_SPI_NSSP(NSSP)
 
#define IS_SPI_TIMODE(__MODE__)
 Checks if SPI TI mode parameter is in allowed range. More...
 
#define IS_SPI_TIMODE(__MODE__)
 Checks if SPI TI mode parameter is in allowed range. More...
 
#define IS_SPI_TIMODE(__MODE__)
 Checks if SPI TI mode parameter is in allowed range. More...
 
#define IS_SPI_TIMODE(MODE)
 
#define IS_SPI_UNDERRUN_BEHAVIOUR(MODE)
 
#define IS_SPI_UNDERRUN_DETECTION(MODE)
 
#define SPI_1LINE_RX(__HANDLE__)   CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_BIDIOE)
 Set the SPI receive-only mode. More...
 
#define SPI_1LINE_RX(__HANDLE__)   CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_BIDIOE)
 Set the SPI receive-only mode. More...
 
#define SPI_1LINE_RX(__HANDLE__)   CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_BIDIOE)
 Set the SPI receive-only mode. More...
 
#define SPI_1LINE_RX(__HANDLE__)   CLEAR_BIT((__HANDLE__)->Instance->CR1 ,SPI_CR1_HDDIR)
 Set the SPI receive-only mode. More...
 
#define SPI_1LINE_TX(__HANDLE__)   SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_BIDIOE)
 Set the SPI transmit-only mode. More...
 
#define SPI_1LINE_TX(__HANDLE__)   SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_BIDIOE)
 Set the SPI transmit-only mode. More...
 
#define SPI_1LINE_TX(__HANDLE__)   SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_BIDIOE)
 Set the SPI transmit-only mode. More...
 
#define SPI_1LINE_TX(__HANDLE__)   SET_BIT((__HANDLE__)->Instance->CR1 , SPI_CR1_HDDIR)
 Set the SPI transmit-only mode. More...
 
#define SPI_CHECK_FLAG(__SR__, __FLAG__)   ((((__SR__) & ((__FLAG__) & SPI_FLAG_MASK)) == ((__FLAG__) & SPI_FLAG_MASK)) ? SET : RESET)
 Check whether the specified SPI flag is set or not. More...
 
#define SPI_CHECK_FLAG(__SR__, __FLAG__)   ((((__SR__) & ((__FLAG__) & SPI_FLAG_MASK)) == ((__FLAG__) & SPI_FLAG_MASK)) ? SET : RESET)
 Check whether the specified SPI flag is set or not. More...
 
#define SPI_CHECK_FLAG(__SR__, __FLAG__)   ((((__SR__) & ((__FLAG__) & SPI_FLAG_MASK)) == ((__FLAG__) & SPI_FLAG_MASK)) ? SET : RESET)
 Check whether the specified SPI flag is set or not. More...
 
#define SPI_CHECK_IT_SOURCE(__CR2__, __INTERRUPT__)   ((((__CR2__) & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET)
 Check whether the specified SPI Interrupt is set or not. More...
 
#define SPI_CHECK_IT_SOURCE(__CR2__, __INTERRUPT__)   ((((__CR2__) & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET)
 Check whether the specified SPI Interrupt is set or not. More...
 
#define SPI_CHECK_IT_SOURCE(__CR2__, __INTERRUPT__)   ((((__CR2__) & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET)
 Check whether the specified SPI Interrupt is set or not. More...
 
#define SPI_RESET_CRC(__HANDLE__)
 Reset the CRC calculation of the SPI. More...
 
#define SPI_RESET_CRC(__HANDLE__)
 Reset the CRC calculation of the SPI. More...
 
#define SPI_RESET_CRC(__HANDLE__)
 Reset the CRC calculation of the SPI. More...
 

Detailed Description

Macro Definition Documentation

◆ IS_SPI_BAUDRATE_PRESCALER [1/4]

#define IS_SPI_BAUDRATE_PRESCALER (   __PRESCALER__)
Value:
(((__PRESCALER__) == SPI_BAUDRATEPRESCALER_2) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_4) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_8) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_16) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_32) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_64) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_128) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_256))

Checks if SPI Baudrate prescaler parameter is in allowed range.

Parameters
<strong>PRESCALER</strong>specifies the SPI Baudrate prescaler. This parameter can be a value of SPI BaudRate Prescaler
Return values
None

Definition at line 589 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_BAUDRATE_PRESCALER [2/4]

#define IS_SPI_BAUDRATE_PRESCALER (   __PRESCALER__)
Value:
(((__PRESCALER__) == SPI_BAUDRATEPRESCALER_2) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_4) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_8) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_16) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_32) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_64) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_128) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_256))

Checks if SPI Baudrate prescaler parameter is in allowed range.

Parameters
<strong>PRESCALER</strong>specifies the SPI Baudrate prescaler. This parameter can be a value of SPI BaudRate Prescaler
Return values
None

Definition at line 589 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_BAUDRATE_PRESCALER [3/4]

#define IS_SPI_BAUDRATE_PRESCALER (   __PRESCALER__)
Value:
(((__PRESCALER__) == SPI_BAUDRATEPRESCALER_2) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_4) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_8) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_16) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_32) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_64) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_128) || \
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_256))

Checks if SPI Baudrate prescaler parameter is in allowed range.

Parameters
<strong>PRESCALER</strong>specifies the SPI Baudrate prescaler. This parameter can be a value of SPI BaudRate Prescaler
Return values
None

Definition at line 697 of file stm32f7xx_hal_spi.h.

◆ IS_SPI_BAUDRATE_PRESCALER [4/4]

#define IS_SPI_BAUDRATE_PRESCALER (   PRESCALER)
Value:
(((PRESCALER) == SPI_BAUDRATEPRESCALER_2) || \
((PRESCALER) == SPI_BAUDRATEPRESCALER_4) || \
((PRESCALER) == SPI_BAUDRATEPRESCALER_8) || \
((PRESCALER) == SPI_BAUDRATEPRESCALER_16) || \
((PRESCALER) == SPI_BAUDRATEPRESCALER_32) || \
((PRESCALER) == SPI_BAUDRATEPRESCALER_64) || \
((PRESCALER) == SPI_BAUDRATEPRESCALER_128) || \
((PRESCALER) == SPI_BAUDRATEPRESCALER_256))

Definition at line 1010 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_CPHA [1/4]

#define IS_SPI_CPHA (   __CPHA__)
Value:
(((__CPHA__) == SPI_PHASE_1EDGE) || \
((__CPHA__) == SPI_PHASE_2EDGE))

Checks if SPI Clock Phase parameter is in allowed range.

Parameters
<strong>CPHA</strong>specifies the SPI Clock Phase. This parameter can be a value of SPI Clock Phase
Return values
None

Definition at line 572 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_CPHA [2/4]

#define IS_SPI_CPHA (   __CPHA__)
Value:
(((__CPHA__) == SPI_PHASE_1EDGE) || \
((__CPHA__) == SPI_PHASE_2EDGE))

Checks if SPI Clock Phase parameter is in allowed range.

Parameters
<strong>CPHA</strong>specifies the SPI Clock Phase. This parameter can be a value of SPI Clock Phase
Return values
None

Definition at line 572 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_CPHA [3/4]

#define IS_SPI_CPHA (   __CPHA__)
Value:
(((__CPHA__) == SPI_PHASE_1EDGE) || \
((__CPHA__) == SPI_PHASE_2EDGE))

Checks if SPI Clock Phase parameter is in allowed range.

Parameters
<strong>CPHA</strong>specifies the SPI Clock Phase. This parameter can be a value of SPI Clock Phase
Return values
None

Definition at line 672 of file stm32f7xx_hal_spi.h.

◆ IS_SPI_CPHA [4/4]

#define IS_SPI_CPHA (   CPHA)
Value:
(((CPHA) == SPI_PHASE_1EDGE) || \
((CPHA) == SPI_PHASE_2EDGE))

Definition at line 1000 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_CPOL [1/4]

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

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

Parameters
<strong>CPOL</strong>specifies the SPI serial clock steady state. This parameter can be a value of SPI Clock Polarity
Return values
None

Definition at line 564 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_CPOL [2/4]

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

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

Parameters
<strong>CPOL</strong>specifies the SPI serial clock steady state. This parameter can be a value of SPI Clock Polarity
Return values
None

Definition at line 564 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_CPOL [3/4]

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

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

Parameters
<strong>CPOL</strong>specifies the SPI serial clock steady state. This parameter can be a value of SPI Clock Polarity
Return values
None

Definition at line 664 of file stm32f7xx_hal_spi.h.

◆ IS_SPI_CPOL [4/4]

#define IS_SPI_CPOL (   CPOL)
Value:
(((CPOL) == SPI_POLARITY_LOW) || \
((CPOL) == SPI_POLARITY_HIGH))

Definition at line 997 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_CRC_CALCULATION [1/4]

#define IS_SPI_CRC_CALCULATION (   __CALCULATION__)
Value:
(((__CALCULATION__) == SPI_CRCCALCULATION_DISABLE) || \
((__CALCULATION__) == SPI_CRCCALCULATION_ENABLE))

Checks if SPI CRC calculation enabled state is in allowed range.

Parameters
<strong>CALCULATION</strong>specifies the SPI CRC calculation enable state. This parameter can be a value of SPI CRC Calculation
Return values
None

Definition at line 619 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_CRC_CALCULATION [2/4]

#define IS_SPI_CRC_CALCULATION (   __CALCULATION__)
Value:
(((__CALCULATION__) == SPI_CRCCALCULATION_DISABLE) || \
((__CALCULATION__) == SPI_CRCCALCULATION_ENABLE))

Checks if SPI CRC calculation enabled state is in allowed range.

Parameters
<strong>CALCULATION</strong>specifies the SPI CRC calculation enable state. This parameter can be a value of SPI CRC Calculation
Return values
None

Definition at line 619 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_CRC_CALCULATION [3/4]

#define IS_SPI_CRC_CALCULATION (   __CALCULATION__)
Value:
(((__CALCULATION__) == SPI_CRCCALCULATION_DISABLE) || \
((__CALCULATION__) == SPI_CRCCALCULATION_ENABLE))

Checks if SPI CRC calculation enabled state is in allowed range.

Parameters
<strong>CALCULATION</strong>specifies the SPI CRC calculation enable state. This parameter can be a value of SPI CRC Calculation
Return values
None

Definition at line 727 of file stm32f7xx_hal_spi.h.

◆ IS_SPI_CRC_CALCULATION [4/4]

#define IS_SPI_CRC_CALCULATION (   CALCULATION)
Value:
(((CALCULATION) == SPI_CRCCALCULATION_DISABLE) || \
((CALCULATION) == SPI_CRCCALCULATION_ENABLE))

Definition at line 1025 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_CRC_INITIALIZATION_PATTERN

#define IS_SPI_CRC_INITIALIZATION_PATTERN (   PATTERN)
Value:

Definition at line 1028 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_CRC_LENGTH [1/2]

#define IS_SPI_CRC_LENGTH (   __LENGTH__)
Value:
(((__LENGTH__) == SPI_CRC_LENGTH_DATASIZE) ||\
((__LENGTH__) == SPI_CRC_LENGTH_8BIT) || \
((__LENGTH__) == SPI_CRC_LENGTH_16BIT))

Checks if SPI CRC length is in allowed range.

Parameters
<strong>LENGTH</strong>specifies the SPI CRC length. This parameter can be a value of SPI CRC Length
Return values
None

Definition at line 735 of file stm32f7xx_hal_spi.h.

◆ IS_SPI_CRC_LENGTH [2/2]

#define IS_SPI_CRC_LENGTH (   LENGTH)
Value:
(((LENGTH) == SPI_CRC_LENGTH_DATASIZE) || \
((LENGTH) == SPI_CRC_LENGTH_32BIT) || \
((LENGTH) == SPI_CRC_LENGTH_31BIT) || \
((LENGTH) == SPI_CRC_LENGTH_30BIT) || \
((LENGTH) == SPI_CRC_LENGTH_29BIT) || \
((LENGTH) == SPI_CRC_LENGTH_28BIT) || \
((LENGTH) == SPI_CRC_LENGTH_27BIT) || \
((LENGTH) == SPI_CRC_LENGTH_26BIT) || \
((LENGTH) == SPI_CRC_LENGTH_25BIT) || \
((LENGTH) == SPI_CRC_LENGTH_24BIT) || \
((LENGTH) == SPI_CRC_LENGTH_23BIT) || \
((LENGTH) == SPI_CRC_LENGTH_22BIT) || \
((LENGTH) == SPI_CRC_LENGTH_21BIT) || \
((LENGTH) == SPI_CRC_LENGTH_20BIT) || \
((LENGTH) == SPI_CRC_LENGTH_19BIT) || \
((LENGTH) == SPI_CRC_LENGTH_18BIT) || \
((LENGTH) == SPI_CRC_LENGTH_17BIT) || \
((LENGTH) == SPI_CRC_LENGTH_16BIT) || \
((LENGTH) == SPI_CRC_LENGTH_15BIT) || \
((LENGTH) == SPI_CRC_LENGTH_14BIT) || \
((LENGTH) == SPI_CRC_LENGTH_13BIT) || \
((LENGTH) == SPI_CRC_LENGTH_12BIT) || \
((LENGTH) == SPI_CRC_LENGTH_11BIT) || \
((LENGTH) == SPI_CRC_LENGTH_10BIT) || \
((LENGTH) == SPI_CRC_LENGTH_9BIT) || \
((LENGTH) == SPI_CRC_LENGTH_8BIT) || \
((LENGTH) == SPI_CRC_LENGTH_7BIT) || \
((LENGTH) == SPI_CRC_LENGTH_6BIT) || \
((LENGTH) == SPI_CRC_LENGTH_5BIT) || \
((LENGTH) == SPI_CRC_LENGTH_4BIT))

Definition at line 1031 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_CRC_POLYNOMIAL [1/4]

#define IS_SPI_CRC_POLYNOMIAL (   __POLYNOMIAL__)    (((__POLYNOMIAL__) >= 0x1U) && ((__POLYNOMIAL__) <= 0xFFFFU) && (((__POLYNOMIAL__)&0x1U) != 0U))

Checks if SPI polynomial value to be used for the CRC calculation, is in allowed range.

Parameters
<strong>POLYNOMIAL</strong>specifies the SPI polynomial value to be used for the CRC calculation. This parameter must be a number between Min_Data = 0 and Max_Data = 65535
Return values
None

Definition at line 627 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_CRC_POLYNOMIAL [2/4]

#define IS_SPI_CRC_POLYNOMIAL (   __POLYNOMIAL__)    (((__POLYNOMIAL__) >= 0x1U) && ((__POLYNOMIAL__) <= 0xFFFFU) && (((__POLYNOMIAL__)&0x1U) != 0U))

Checks if SPI polynomial value to be used for the CRC calculation, is in allowed range.

Parameters
<strong>POLYNOMIAL</strong>specifies the SPI polynomial value to be used for the CRC calculation. This parameter must be a number between Min_Data = 0 and Max_Data = 65535
Return values
None

Definition at line 627 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_CRC_POLYNOMIAL [3/4]

#define IS_SPI_CRC_POLYNOMIAL (   __POLYNOMIAL__)    (((__POLYNOMIAL__) >= 0x1U) && ((__POLYNOMIAL__) <= 0xFFFFU) && (((__POLYNOMIAL__)&0x1U) != 0U))

Checks if SPI polynomial value to be used for the CRC calculation, is in allowed range.

Parameters
<strong>POLYNOMIAL</strong>specifies the SPI polynomial value to be used for the CRC calculation. This parameter must be a number between Min_Data = 0 and Max_Data = 65535
Return values
None

Definition at line 744 of file stm32f7xx_hal_spi.h.

◆ IS_SPI_CRC_POLYNOMIAL [4/4]

#define IS_SPI_CRC_POLYNOMIAL (   POLYNOMIAL)    ((POLYNOMIAL) >= 0x1UL)

Definition at line 1062 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_DATASIZE [1/4]

#define IS_SPI_DATASIZE (   __DATASIZE__)
Value:
(((__DATASIZE__) == SPI_DATASIZE_16BIT) || \
((__DATASIZE__) == SPI_DATASIZE_8BIT))

Checks if SPI Data Size parameter is in allowed range.

Parameters
<strong>DATASIZE</strong>specifies the SPI Data Size. This parameter can be a value of SPI Data Size
Return values
None

Definition at line 556 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_DATASIZE [2/4]

#define IS_SPI_DATASIZE (   __DATASIZE__)
Value:
(((__DATASIZE__) == SPI_DATASIZE_16BIT) || \
((__DATASIZE__) == SPI_DATASIZE_8BIT))

Checks if SPI Data Size parameter is in allowed range.

Parameters
<strong>DATASIZE</strong>specifies the SPI Data Size. This parameter can be a value of SPI Data Size
Return values
None

Definition at line 556 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_DATASIZE [3/4]

#define IS_SPI_DATASIZE (   __DATASIZE__)
Value:
(((__DATASIZE__) == SPI_DATASIZE_16BIT) || \
((__DATASIZE__) == SPI_DATASIZE_15BIT) || \
((__DATASIZE__) == SPI_DATASIZE_14BIT) || \
((__DATASIZE__) == SPI_DATASIZE_13BIT) || \
((__DATASIZE__) == SPI_DATASIZE_12BIT) || \
((__DATASIZE__) == SPI_DATASIZE_11BIT) || \
((__DATASIZE__) == SPI_DATASIZE_10BIT) || \
((__DATASIZE__) == SPI_DATASIZE_9BIT) || \
((__DATASIZE__) == SPI_DATASIZE_8BIT) || \
((__DATASIZE__) == SPI_DATASIZE_7BIT) || \
((__DATASIZE__) == SPI_DATASIZE_6BIT) || \
((__DATASIZE__) == SPI_DATASIZE_5BIT) || \
((__DATASIZE__) == SPI_DATASIZE_4BIT))

Checks if SPI Data Size parameter is in allowed range.

Parameters
<strong>DATASIZE</strong>specifies the SPI Data Size. This parameter can be a value of SPI Data Size
Return values
None

Definition at line 645 of file stm32f7xx_hal_spi.h.

◆ IS_SPI_DATASIZE [4/4]

#define IS_SPI_DATASIZE (   DATASIZE)
Value:
(((DATASIZE) == SPI_DATASIZE_32BIT) || \
((DATASIZE) == SPI_DATASIZE_31BIT) || \
((DATASIZE) == SPI_DATASIZE_30BIT) || \
((DATASIZE) == SPI_DATASIZE_29BIT) || \
((DATASIZE) == SPI_DATASIZE_28BIT) || \
((DATASIZE) == SPI_DATASIZE_27BIT) || \
((DATASIZE) == SPI_DATASIZE_26BIT) || \
((DATASIZE) == SPI_DATASIZE_25BIT) || \
((DATASIZE) == SPI_DATASIZE_24BIT) || \
((DATASIZE) == SPI_DATASIZE_23BIT) || \
((DATASIZE) == SPI_DATASIZE_22BIT) || \
((DATASIZE) == SPI_DATASIZE_21BIT) || \
((DATASIZE) == SPI_DATASIZE_20BIT) || \
((DATASIZE) == SPI_DATASIZE_22BIT) || \
((DATASIZE) == SPI_DATASIZE_19BIT) || \
((DATASIZE) == SPI_DATASIZE_18BIT) || \
((DATASIZE) == SPI_DATASIZE_17BIT) || \
((DATASIZE) == SPI_DATASIZE_16BIT) || \
((DATASIZE) == SPI_DATASIZE_15BIT) || \
((DATASIZE) == SPI_DATASIZE_14BIT) || \
((DATASIZE) == SPI_DATASIZE_13BIT) || \
((DATASIZE) == SPI_DATASIZE_12BIT) || \
((DATASIZE) == SPI_DATASIZE_11BIT) || \
((DATASIZE) == SPI_DATASIZE_10BIT) || \
((DATASIZE) == SPI_DATASIZE_9BIT) || \
((DATASIZE) == SPI_DATASIZE_8BIT) || \
((DATASIZE) == SPI_DATASIZE_7BIT) || \
((DATASIZE) == SPI_DATASIZE_6BIT) || \
((DATASIZE) == SPI_DATASIZE_5BIT) || \
((DATASIZE) == SPI_DATASIZE_4BIT))

Definition at line 949 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_DIRECTION [1/4]

#define IS_SPI_DIRECTION (   __MODE__)
Value:
(((__MODE__) == SPI_DIRECTION_2LINES) || \
((__MODE__) == SPI_DIRECTION_2LINES_RXONLY) || \
((__MODE__) == SPI_DIRECTION_1LINE))

Checks if SPI Direction Mode parameter is in allowed range.

Parameters
<strong>MODE</strong>specifies the SPI Direction Mode. This parameter can be a value of SPI Direction Mode
Return values
None

Definition at line 534 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_DIRECTION [2/4]

#define IS_SPI_DIRECTION (   __MODE__)
Value:
(((__MODE__) == SPI_DIRECTION_2LINES) || \
((__MODE__) == SPI_DIRECTION_2LINES_RXONLY) || \
((__MODE__) == SPI_DIRECTION_1LINE))

Checks if SPI Direction Mode parameter is in allowed range.

Parameters
<strong>MODE</strong>specifies the SPI Direction Mode. This parameter can be a value of SPI Direction Mode
Return values
None

Definition at line 534 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_DIRECTION [3/4]

#define IS_SPI_DIRECTION (   __MODE__)
Value:
(((__MODE__) == SPI_DIRECTION_2LINES) || \
((__MODE__) == SPI_DIRECTION_2LINES_RXONLY) || \
((__MODE__) == SPI_DIRECTION_1LINE))

Checks if SPI Direction Mode parameter is in allowed range.

Parameters
<strong>MODE</strong>specifies the SPI Direction Mode. This parameter can be a value of SPI Direction Mode
Return values
None

Definition at line 623 of file stm32f7xx_hal_spi.h.

◆ IS_SPI_DIRECTION [4/4]

#define IS_SPI_DIRECTION (   MODE)
Value:
(((MODE) == SPI_DIRECTION_2LINES) || \
((MODE) == SPI_DIRECTION_2LINES_RXONLY) || \
((MODE) == SPI_DIRECTION_1LINE) || \

Definition at line 932 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_DIRECTION_2LINES [1/4]

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

Checks if SPI Direction Mode parameter is 2 lines.

Parameters
<strong>MODE</strong>specifies the SPI Direction Mode.
Return values
None

Definition at line 542 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_DIRECTION_2LINES [2/4]

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

Checks if SPI Direction Mode parameter is 2 lines.

Parameters
<strong>MODE</strong>specifies the SPI Direction Mode.
Return values
None

Definition at line 542 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_DIRECTION_2LINES [3/4]

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

Checks if SPI Direction Mode parameter is 2 lines.

Parameters
<strong>MODE</strong>specifies the SPI Direction Mode.
Return values
None

Definition at line 631 of file stm32f7xx_hal_spi.h.

◆ IS_SPI_DIRECTION_2LINES [4/4]

#define IS_SPI_DIRECTION_2LINES (   MODE)    ((MODE) == SPI_DIRECTION_2LINES)

Definition at line 937 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_DIRECTION_2LINES_OR_1LINE [1/3]

#define IS_SPI_DIRECTION_2LINES_OR_1LINE (   __MODE__)
Value:
(((__MODE__) == SPI_DIRECTION_2LINES) || \
((__MODE__) == SPI_DIRECTION_1LINE))

Checks if SPI Direction Mode parameter is 1 or 2 lines.

Parameters
<strong>MODE</strong>specifies the SPI Direction Mode.
Return values
None

Definition at line 548 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_DIRECTION_2LINES_OR_1LINE [2/3]

#define IS_SPI_DIRECTION_2LINES_OR_1LINE (   __MODE__)
Value:
(((__MODE__) == SPI_DIRECTION_2LINES) || \
((__MODE__) == SPI_DIRECTION_1LINE))

Checks if SPI Direction Mode parameter is 1 or 2 lines.

Parameters
<strong>MODE</strong>specifies the SPI Direction Mode.
Return values
None

Definition at line 548 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_DIRECTION_2LINES_OR_1LINE [3/3]

#define IS_SPI_DIRECTION_2LINES_OR_1LINE (   __MODE__)
Value:
(((__MODE__) == SPI_DIRECTION_2LINES) || \
((__MODE__) == SPI_DIRECTION_1LINE))

Checks if SPI Direction Mode parameter is 1 or 2 lines.

Parameters
<strong>MODE</strong>specifies the SPI Direction Mode.
Return values
None

Definition at line 637 of file stm32f7xx_hal_spi.h.

◆ IS_SPI_DIRECTION_2LINES_OR_1LINE_2LINES_RXONLY

#define IS_SPI_DIRECTION_2LINES_OR_1LINE_2LINES_RXONLY (   MODE)
Value:
( \
((MODE) == SPI_DIRECTION_2LINES)|| \
((MODE) == SPI_DIRECTION_1LINE) || \

Definition at line 944 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_DIRECTION_2LINES_OR_1LINE_2LINES_TXONLY

#define IS_SPI_DIRECTION_2LINES_OR_1LINE_2LINES_TXONLY (   MODE)
Value:
( \
((MODE) == SPI_DIRECTION_2LINES)|| \
((MODE) == SPI_DIRECTION_1LINE) || \

Definition at line 939 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_DMA_HANDLE [1/3]

#define IS_SPI_DMA_HANDLE (   __HANDLE__)    ((__HANDLE__) != NULL)

Checks if DMA handle is valid.

Parameters
<strong>HANDLE</strong>specifies a DMA Handle.
Return values
None

Definition at line 633 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_DMA_HANDLE [2/3]

#define IS_SPI_DMA_HANDLE (   __HANDLE__)    ((__HANDLE__) != NULL)

Checks if DMA handle is valid.

Parameters
<strong>HANDLE</strong>specifies a DMA Handle.
Return values
None

Definition at line 633 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_DMA_HANDLE [3/3]

#define IS_SPI_DMA_HANDLE (   __HANDLE__)    ((__HANDLE__) != NULL)

Checks if DMA handle is valid.

Parameters
<strong>HANDLE</strong>specifies a DMA Handle.
Return values
None

Definition at line 750 of file stm32f7xx_hal_spi.h.

◆ IS_SPI_FIFOTHRESHOLD

#define IS_SPI_FIFOTHRESHOLD (   THRESHOLD)
Value:
(((THRESHOLD) == SPI_FIFO_THRESHOLD_01DATA) || \
((THRESHOLD) == SPI_FIFO_THRESHOLD_02DATA) || \
((THRESHOLD) == SPI_FIFO_THRESHOLD_03DATA) || \
((THRESHOLD) == SPI_FIFO_THRESHOLD_04DATA) || \
((THRESHOLD) == SPI_FIFO_THRESHOLD_05DATA) || \
((THRESHOLD) == SPI_FIFO_THRESHOLD_06DATA) || \
((THRESHOLD) == SPI_FIFO_THRESHOLD_07DATA) || \
((THRESHOLD) == SPI_FIFO_THRESHOLD_08DATA) || \
((THRESHOLD) == SPI_FIFO_THRESHOLD_09DATA) || \
((THRESHOLD) == SPI_FIFO_THRESHOLD_10DATA) || \
((THRESHOLD) == SPI_FIFO_THRESHOLD_11DATA) || \
((THRESHOLD) == SPI_FIFO_THRESHOLD_12DATA) || \
((THRESHOLD) == SPI_FIFO_THRESHOLD_13DATA) || \
((THRESHOLD) == SPI_FIFO_THRESHOLD_14DATA) || \
((THRESHOLD) == SPI_FIFO_THRESHOLD_15DATA) || \
((THRESHOLD) == SPI_FIFO_THRESHOLD_16DATA))

Definition at line 980 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_FIRST_BIT [1/4]

#define IS_SPI_FIRST_BIT (   __BIT__)
Value:
(((__BIT__) == SPI_FIRSTBIT_MSB) || \
((__BIT__) == SPI_FIRSTBIT_LSB))

Checks if SPI MSB LSB transmission parameter is in allowed range.

Parameters
<strong>BIT</strong>specifies the SPI MSB LSB transmission (whether data transfer starts from MSB or LSB bit). This parameter can be a value of SPI MSB LSB Transmission
Return values
None

Definition at line 603 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_FIRST_BIT [2/4]

#define IS_SPI_FIRST_BIT (   __BIT__)
Value:
(((__BIT__) == SPI_FIRSTBIT_MSB) || \
((__BIT__) == SPI_FIRSTBIT_LSB))

Checks if SPI MSB LSB transmission parameter is in allowed range.

Parameters
<strong>BIT</strong>specifies the SPI MSB LSB transmission (whether data transfer starts from MSB or LSB bit). This parameter can be a value of SPI MSB LSB Transmission
Return values
None

Definition at line 603 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_FIRST_BIT [3/4]

#define IS_SPI_FIRST_BIT (   __BIT__)
Value:
(((__BIT__) == SPI_FIRSTBIT_MSB) || \
((__BIT__) == SPI_FIRSTBIT_LSB))

Checks if SPI MSB LSB transmission parameter is in allowed range.

Parameters
<strong>BIT</strong>specifies the SPI MSB LSB transmission (whether data transfer starts from MSB or LSB bit). This parameter can be a value of SPI MSB LSB Transmission
Return values
None

Definition at line 711 of file stm32f7xx_hal_spi.h.

◆ IS_SPI_FIRST_BIT [4/4]

#define IS_SPI_FIRST_BIT (   BIT)
Value:
(((BIT) == SPI_FIRSTBIT_MSB) || \
((BIT) == SPI_FIRSTBIT_LSB))

Definition at line 1019 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_MODE [1/4]

#define IS_SPI_MODE (   __MODE__)
Value:
(((__MODE__) == SPI_MODE_SLAVE) || \
((__MODE__) == SPI_MODE_MASTER))

Checks if SPI Mode parameter is in allowed range.

Parameters
<strong>MODE</strong>specifies the SPI Mode. This parameter can be a value of SPI Mode
Return values
None

Definition at line 526 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_MODE [2/4]

#define IS_SPI_MODE (   __MODE__)
Value:
(((__MODE__) == SPI_MODE_SLAVE) || \
((__MODE__) == SPI_MODE_MASTER))

Checks if SPI Mode parameter is in allowed range.

Parameters
<strong>MODE</strong>specifies the SPI Mode. This parameter can be a value of SPI Mode
Return values
None

Definition at line 526 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_MODE [3/4]

#define IS_SPI_MODE (   __MODE__)
Value:
(((__MODE__) == SPI_MODE_SLAVE) || \
((__MODE__) == SPI_MODE_MASTER))

Checks if SPI Mode parameter is in allowed range.

Parameters
<strong>MODE</strong>specifies the SPI Mode. This parameter can be a value of SPI Mode
Return values
None

Definition at line 615 of file stm32f7xx_hal_spi.h.

◆ IS_SPI_MODE [4/4]

#define IS_SPI_MODE (   MODE)
Value:
(((MODE) == SPI_MODE_SLAVE) || \
((MODE) == SPI_MODE_MASTER))

Definition at line 929 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_NSS [1/4]

#define IS_SPI_NSS (   __NSS__)
Value:
(((__NSS__) == SPI_NSS_SOFT) || \
((__NSS__) == SPI_NSS_HARD_INPUT) || \
((__NSS__) == SPI_NSS_HARD_OUTPUT))

Checks if SPI Slave Select parameter is in allowed range.

Parameters
<strong>NSS</strong>specifies the SPI Slave Select management parameter. This parameter can be a value of SPI Slave Select Management
Return values
None

Definition at line 580 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_NSS [2/4]

#define IS_SPI_NSS (   __NSS__)
Value:
(((__NSS__) == SPI_NSS_SOFT) || \
((__NSS__) == SPI_NSS_HARD_INPUT) || \
((__NSS__) == SPI_NSS_HARD_OUTPUT))

Checks if SPI Slave Select parameter is in allowed range.

Parameters
<strong>NSS</strong>specifies the SPI Slave Select management parameter. This parameter can be a value of SPI Slave Select Management
Return values
None

Definition at line 580 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_NSS [3/4]

#define IS_SPI_NSS (   __NSS__)
Value:
(((__NSS__) == SPI_NSS_SOFT) || \
((__NSS__) == SPI_NSS_HARD_INPUT) || \
((__NSS__) == SPI_NSS_HARD_OUTPUT))

Checks if SPI Slave Select parameter is in allowed range.

Parameters
<strong>NSS</strong>specifies the SPI Slave Select management parameter. This parameter can be a value of SPI Slave Select Management
Return values
None

Definition at line 680 of file stm32f7xx_hal_spi.h.

◆ IS_SPI_NSS [4/4]

#define IS_SPI_NSS (   NSS)
Value:
(((NSS) == SPI_NSS_SOFT) || \
((NSS) == SPI_NSS_HARD_INPUT) || \
((NSS) == SPI_NSS_HARD_OUTPUT))

Definition at line 1003 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_NSSP [1/2]

#define IS_SPI_NSSP (   __NSSP__)
Value:
(((__NSSP__) == SPI_NSS_PULSE_ENABLE) || \
((__NSSP__) == SPI_NSS_PULSE_DISABLE))

Checks if SPI NSS Pulse parameter is in allowed range.

Parameters
<strong>NSSP</strong>specifies the SPI NSS Pulse Mode parameter. This parameter can be a value of SPI NSS Pulse Mode
Return values
None

Definition at line 689 of file stm32f7xx_hal_spi.h.

◆ IS_SPI_NSSP [2/2]

#define IS_SPI_NSSP (   NSSP)
Value:
(((NSSP) == SPI_NSS_PULSE_ENABLE) || \
((NSSP) == SPI_NSS_PULSE_DISABLE))

Definition at line 1007 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_TIMODE [1/4]

#define IS_SPI_TIMODE (   __MODE__)
Value:
(((__MODE__) == SPI_TIMODE_DISABLE) || \
((__MODE__) == SPI_TIMODE_ENABLE))

Checks if SPI TI mode parameter is in allowed range.

Parameters
<strong>MODE</strong>specifies the SPI TI mode. This parameter can be a value of SPI TI Mode
Return values
None

Definition at line 611 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_TIMODE [2/4]

#define IS_SPI_TIMODE (   __MODE__)
Value:
(((__MODE__) == SPI_TIMODE_DISABLE) || \
((__MODE__) == SPI_TIMODE_ENABLE))

Checks if SPI TI mode parameter is in allowed range.

Parameters
<strong>MODE</strong>specifies the SPI TI mode. This parameter can be a value of SPI TI Mode
Return values
None

Definition at line 611 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ IS_SPI_TIMODE [3/4]

#define IS_SPI_TIMODE (   __MODE__)
Value:
(((__MODE__) == SPI_TIMODE_DISABLE) || \
((__MODE__) == SPI_TIMODE_ENABLE))

Checks if SPI TI mode parameter is in allowed range.

Parameters
<strong>MODE</strong>specifies the SPI TI mode. This parameter can be a value of SPI TI Mode
Return values
None

Definition at line 719 of file stm32f7xx_hal_spi.h.

◆ IS_SPI_TIMODE [4/4]

#define IS_SPI_TIMODE (   MODE)
Value:
(((MODE) == SPI_TIMODE_DISABLE) || \
((MODE) == SPI_TIMODE_ENABLE))

Definition at line 1022 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_UNDERRUN_BEHAVIOUR

#define IS_SPI_UNDERRUN_BEHAVIOUR (   MODE)
Value:

Definition at line 1068 of file stm32h7xx_hal_spi.h.

◆ IS_SPI_UNDERRUN_DETECTION

#define IS_SPI_UNDERRUN_DETECTION (   MODE)
Value:

Definition at line 1064 of file stm32h7xx_hal_spi.h.

◆ SPI_1LINE_RX [1/4]

#define SPI_1LINE_RX (   __HANDLE__)    CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_BIDIOE)

Set the SPI receive-only mode.

Parameters
<strong>HANDLE</strong>specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
Return values
None

Definition at line 485 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ SPI_1LINE_RX [2/4]

#define SPI_1LINE_RX (   __HANDLE__)    CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_BIDIOE)

Set the SPI receive-only mode.

Parameters
<strong>HANDLE</strong>specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
Return values
None

Definition at line 485 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ SPI_1LINE_RX [3/4]

#define SPI_1LINE_RX (   __HANDLE__)    CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_BIDIOE)

Set the SPI receive-only mode.

Parameters
<strong>HANDLE</strong>specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
Return values
None

Definition at line 572 of file stm32f7xx_hal_spi.h.

◆ SPI_1LINE_RX [4/4]

#define SPI_1LINE_RX (   __HANDLE__)    CLEAR_BIT((__HANDLE__)->Instance->CR1 ,SPI_CR1_HDDIR)

Set the SPI receive-only mode.

Parameters
<strong>HANDLE</strong>specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
Return values
None

Definition at line 927 of file stm32h7xx_hal_spi.h.

◆ SPI_1LINE_TX [1/4]

#define SPI_1LINE_TX (   __HANDLE__)    SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_BIDIOE)

Set the SPI transmit-only mode.

Parameters
<strong>HANDLE</strong>specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
Return values
None

Definition at line 478 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ SPI_1LINE_TX [2/4]

#define SPI_1LINE_TX (   __HANDLE__)    SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_BIDIOE)

Set the SPI transmit-only mode.

Parameters
<strong>HANDLE</strong>specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
Return values
None

Definition at line 478 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ SPI_1LINE_TX [3/4]

#define SPI_1LINE_TX (   __HANDLE__)    SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_BIDIOE)

Set the SPI transmit-only mode.

Parameters
<strong>HANDLE</strong>specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
Return values
None

Definition at line 565 of file stm32f7xx_hal_spi.h.

◆ SPI_1LINE_TX [4/4]

#define SPI_1LINE_TX (   __HANDLE__)    SET_BIT((__HANDLE__)->Instance->CR1 , SPI_CR1_HDDIR)

Set the SPI transmit-only mode.

Parameters
<strong>HANDLE</strong>specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
Return values
None

Definition at line 920 of file stm32h7xx_hal_spi.h.

◆ SPI_CHECK_FLAG [1/3]

#define SPI_CHECK_FLAG (   __SR__,
  __FLAG__ 
)    ((((__SR__) & ((__FLAG__) & SPI_FLAG_MASK)) == ((__FLAG__) & SPI_FLAG_MASK)) ? SET : RESET)

Check whether the specified SPI flag is set or not.

Parameters
<strong>SR</strong>copy of SPI SR regsiter.
<strong>FLAG</strong>specifies the flag to check. This parameter can be one of the following values:
  • SPI_FLAG_RXNE: Receive buffer not empty flag
  • SPI_FLAG_TXE: Transmit buffer empty flag
  • SPI_FLAG_CRCERR: CRC error flag
  • SPI_FLAG_MODF: Mode fault flag
  • SPI_FLAG_OVR: Overrun flag
  • SPI_FLAG_BSY: Busy flag
  • SPI_FLAG_FRE: Frame format error flag
Return values
SETor RESET.

Definition at line 508 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ SPI_CHECK_FLAG [2/3]

#define SPI_CHECK_FLAG (   __SR__,
  __FLAG__ 
)    ((((__SR__) & ((__FLAG__) & SPI_FLAG_MASK)) == ((__FLAG__) & SPI_FLAG_MASK)) ? SET : RESET)

Check whether the specified SPI flag is set or not.

Parameters
<strong>SR</strong>copy of SPI SR regsiter.
<strong>FLAG</strong>specifies the flag to check. This parameter can be one of the following values:
  • SPI_FLAG_RXNE: Receive buffer not empty flag
  • SPI_FLAG_TXE: Transmit buffer empty flag
  • SPI_FLAG_CRCERR: CRC error flag
  • SPI_FLAG_MODF: Mode fault flag
  • SPI_FLAG_OVR: Overrun flag
  • SPI_FLAG_BSY: Busy flag
  • SPI_FLAG_FRE: Frame format error flag
Return values
SETor RESET.

Definition at line 508 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ SPI_CHECK_FLAG [3/3]

#define SPI_CHECK_FLAG (   __SR__,
  __FLAG__ 
)    ((((__SR__) & ((__FLAG__) & SPI_FLAG_MASK)) == ((__FLAG__) & SPI_FLAG_MASK)) ? SET : RESET)

Check whether the specified SPI flag is set or not.

Parameters
<strong>SR</strong>copy of SPI SR regsiter.
<strong>FLAG</strong>specifies the flag to check. This parameter can be one of the following values:
  • SPI_FLAG_RXNE: Receive buffer not empty flag
  • SPI_FLAG_TXE: Transmit buffer empty flag
  • SPI_FLAG_CRCERR: CRC error flag
  • SPI_FLAG_MODF: Mode fault flag
  • SPI_FLAG_OVR: Overrun flag
  • SPI_FLAG_BSY: Busy flag
  • SPI_FLAG_FRE: Frame format error flag
  • SPI_FLAG_FTLVL: SPI fifo transmission level
  • SPI_FLAG_FRLVL: SPI fifo reception level
Return values
SETor RESET.

Definition at line 597 of file stm32f7xx_hal_spi.h.

◆ SPI_CHECK_IT_SOURCE [1/3]

#define SPI_CHECK_IT_SOURCE (   __CR2__,
  __INTERRUPT__ 
)    ((((__CR2__) & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET)

Check whether the specified SPI Interrupt is set or not.

Parameters
<strong>CR2</strong>copy of SPI CR2 regsiter.
<strong>INTERRUPT</strong>specifies the SPI interrupt source to check. This parameter can be one of the following values:
  • SPI_IT_TXE: Tx buffer empty interrupt enable
  • SPI_IT_RXNE: RX buffer not empty interrupt enable
  • SPI_IT_ERR: Error interrupt enable
Return values
SETor RESET.

Definition at line 519 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ SPI_CHECK_IT_SOURCE [2/3]

#define SPI_CHECK_IT_SOURCE (   __CR2__,
  __INTERRUPT__ 
)    ((((__CR2__) & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET)

Check whether the specified SPI Interrupt is set or not.

Parameters
<strong>CR2</strong>copy of SPI CR2 regsiter.
<strong>INTERRUPT</strong>specifies the SPI interrupt source to check. This parameter can be one of the following values:
  • SPI_IT_TXE: Tx buffer empty interrupt enable
  • SPI_IT_RXNE: RX buffer not empty interrupt enable
  • SPI_IT_ERR: Error interrupt enable
Return values
SETor RESET.

Definition at line 519 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ SPI_CHECK_IT_SOURCE [3/3]

#define SPI_CHECK_IT_SOURCE (   __CR2__,
  __INTERRUPT__ 
)    ((((__CR2__) & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET)

Check whether the specified SPI Interrupt is set or not.

Parameters
<strong>CR2</strong>copy of SPI CR2 regsiter.
<strong>INTERRUPT</strong>specifies the SPI interrupt source to check. This parameter can be one of the following values:
  • SPI_IT_TXE: Tx buffer empty interrupt enable
  • SPI_IT_RXNE: RX buffer not empty interrupt enable
  • SPI_IT_ERR: Error interrupt enable
Return values
SETor RESET.

Definition at line 608 of file stm32f7xx_hal_spi.h.

◆ SPI_RESET_CRC [1/3]

#define SPI_RESET_CRC (   __HANDLE__)
Value:
do{CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_CRCEN);\
SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_CRCEN);}while(0U)

Reset the CRC calculation of the SPI.

Parameters
<strong>HANDLE</strong>specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
Return values
None

Definition at line 492 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ SPI_RESET_CRC [2/3]

#define SPI_RESET_CRC (   __HANDLE__)
Value:
do{CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_CRCEN);\
SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_CRCEN);}while(0U)

Reset the CRC calculation of the SPI.

Parameters
<strong>HANDLE</strong>specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
Return values
None

Definition at line 492 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.

◆ SPI_RESET_CRC [3/3]

#define SPI_RESET_CRC (   __HANDLE__)
Value:
do{CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_CRCEN);\
SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_CRCEN);}while(0U)

Reset the CRC calculation of the SPI.

Parameters
<strong>HANDLE</strong>specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
Return values
None

Definition at line 579 of file stm32f7xx_hal_spi.h.

SPI_NSS_HARD_INPUT
#define SPI_NSS_HARD_INPUT
Definition: stm32h7xx_hal_spi.h:364
SPI_DIRECTION_2LINES_RXONLY
#define SPI_DIRECTION_2LINES_RXONLY
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:217
SPI_CRC_LENGTH_27BIT
#define SPI_CRC_LENGTH_27BIT
Definition: stm32h7xx_hal_spi.h:448
SPI_DATASIZE_21BIT
#define SPI_DATASIZE_21BIT
Definition: stm32h7xx_hal_spi.h:326
SPI_DATASIZE_27BIT
#define SPI_DATASIZE_27BIT
Definition: stm32h7xx_hal_spi.h:332
SPI_DATASIZE_5BIT
#define SPI_DATASIZE_5BIT
Definition: stm32f7xx_hal_spi.h:240
SPI_FIFO_THRESHOLD_14DATA
#define SPI_FIFO_THRESHOLD_14DATA
Definition: stm32h7xx_hal_spi.h:474
SPI_CRC_LENGTH_5BIT
#define SPI_CRC_LENGTH_5BIT
Definition: stm32h7xx_hal_spi.h:426
SPI_NSS_PULSE_DISABLE
#define SPI_NSS_PULSE_DISABLE
Definition: stm32f7xx_hal_spi.h:288
SPI_CRC_LENGTH_23BIT
#define SPI_CRC_LENGTH_23BIT
Definition: stm32h7xx_hal_spi.h:444
SPI_BAUDRATEPRESCALER_8
#define SPI_BAUDRATEPRESCALER_8
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:265
SPI_NSS_HARD_OUTPUT
#define SPI_NSS_HARD_OUTPUT
Definition: stm32h7xx_hal_spi.h:365
SPI_CRC_LENGTH_30BIT
#define SPI_CRC_LENGTH_30BIT
Definition: stm32h7xx_hal_spi.h:451
SPI_BAUDRATEPRESCALER_2
#define SPI_BAUDRATEPRESCALER_2
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:263
SPI_CR1_CRCEN
#define SPI_CR1_CRCEN
Definition: stm32f407xx.h:11480
SPI_MODE_MASTER
#define SPI_MODE_MASTER
Definition: stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:208
SPI_PHASE_1EDGE
#define SPI_PHASE_1EDGE
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:244
SPI_CRC_LENGTH_6BIT
#define SPI_CRC_LENGTH_6BIT
Definition: stm32h7xx_hal_spi.h:427
SPI_NSS_HARD_INPUT
#define SPI_NSS_HARD_INPUT
Definition: stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:254
SPI_UNDERRUN_DETECT_BEGIN_DATA_FRAME
#define SPI_UNDERRUN_DETECT_BEGIN_DATA_FRAME
Definition: stm32h7xx_hal_spi.h:575
SPI_UNDERRUN_BEHAV_LAST_RECEIVED
#define SPI_UNDERRUN_BEHAV_LAST_RECEIVED
Definition: stm32h7xx_hal_spi.h:586
SPI_DIRECTION_1LINE
#define SPI_DIRECTION_1LINE
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:218
SPI_CRC_LENGTH_21BIT
#define SPI_CRC_LENGTH_21BIT
Definition: stm32h7xx_hal_spi.h:442
SPI_DATASIZE_32BIT
#define SPI_DATASIZE_32BIT
Definition: stm32h7xx_hal_spi.h:337
SPI_FIFO_THRESHOLD_10DATA
#define SPI_FIFO_THRESHOLD_10DATA
Definition: stm32h7xx_hal_spi.h:470
SPI_DATASIZE_14BIT
#define SPI_DATASIZE_14BIT
Definition: stm32f7xx_hal_spi.h:249
SPI_CRC_LENGTH_20BIT
#define SPI_CRC_LENGTH_20BIT
Definition: stm32h7xx_hal_spi.h:441
SPI_DATASIZE_29BIT
#define SPI_DATASIZE_29BIT
Definition: stm32h7xx_hal_spi.h:334
SPI_POLARITY_HIGH
#define SPI_POLARITY_HIGH
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:236
SPI_FIRSTBIT_MSB
#define SPI_FIRSTBIT_MSB
Definition: stm32h7xx_hal_spi.h:397
CLEAR_BIT
#define CLEAR_BIT(REG, BIT)
Definition: stm32f407/stm32f407g-disc1/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:214
SPI_TIMODE_ENABLE
#define SPI_TIMODE_ENABLE
Definition: stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:288
SPI_DATASIZE_30BIT
#define SPI_DATASIZE_30BIT
Definition: stm32h7xx_hal_spi.h:335
SPI_CRC_LENGTH_17BIT
#define SPI_CRC_LENGTH_17BIT
Definition: stm32h7xx_hal_spi.h:438
SPI_UNDERRUN_DETECT_BEGIN_ACTIVE_NSS
#define SPI_UNDERRUN_DETECT_BEGIN_ACTIVE_NSS
Definition: stm32h7xx_hal_spi.h:577
SPI_DATASIZE_31BIT
#define SPI_DATASIZE_31BIT
Definition: stm32h7xx_hal_spi.h:336
SPI_DIRECTION_2LINES_TXONLY
#define SPI_DIRECTION_2LINES_TXONLY
Definition: stm32h7xx_hal_spi.h:299
SPI_FIFO_THRESHOLD_02DATA
#define SPI_FIFO_THRESHOLD_02DATA
Definition: stm32h7xx_hal_spi.h:462
SPI_DATASIZE_13BIT
#define SPI_DATASIZE_13BIT
Definition: stm32f7xx_hal_spi.h:248
SPI_DATASIZE_22BIT
#define SPI_DATASIZE_22BIT
Definition: stm32h7xx_hal_spi.h:327
SPI_CRC_INITIALIZATION_ALL_ONE_PATTERN
#define SPI_CRC_INITIALIZATION_ALL_ONE_PATTERN
Definition: stm32h7xx_hal_spi.h:485
SPI_CRC_LENGTH_8BIT
#define SPI_CRC_LENGTH_8BIT
Definition: stm32f7xx_hal_spi.h:343
SPI_DATASIZE_9BIT
#define SPI_DATASIZE_9BIT
Definition: stm32f7xx_hal_spi.h:244
SPI_CRC_LENGTH_26BIT
#define SPI_CRC_LENGTH_26BIT
Definition: stm32h7xx_hal_spi.h:447
SPI_DATASIZE_20BIT
#define SPI_DATASIZE_20BIT
Definition: stm32h7xx_hal_spi.h:325
SPI_CRC_LENGTH_10BIT
#define SPI_CRC_LENGTH_10BIT
Definition: stm32h7xx_hal_spi.h:431
SPI_FIRSTBIT_LSB
#define SPI_FIRSTBIT_LSB
Definition: stm32h7xx_hal_spi.h:398
SPI_FIFO_THRESHOLD_09DATA
#define SPI_FIFO_THRESHOLD_09DATA
Definition: stm32h7xx_hal_spi.h:469
SPI_NSS_SOFT
#define SPI_NSS_SOFT
Definition: stm32h7xx_hal_spi.h:363
SPI_FIFO_THRESHOLD_05DATA
#define SPI_FIFO_THRESHOLD_05DATA
Definition: stm32h7xx_hal_spi.h:465
SPI_BAUDRATEPRESCALER_64
#define SPI_BAUDRATEPRESCALER_64
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:268
SPI_CRC_LENGTH_12BIT
#define SPI_CRC_LENGTH_12BIT
Definition: stm32h7xx_hal_spi.h:433
SPI_CRCCALCULATION_ENABLE
#define SPI_CRCCALCULATION_ENABLE
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:297
SPI_BAUDRATEPRESCALER_4
#define SPI_BAUDRATEPRESCALER_4
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:264
SPI_TIMODE_ENABLE
#define SPI_TIMODE_ENABLE
Definition: stm32h7xx_hal_spi.h:407
SPI_DATASIZE_15BIT
#define SPI_DATASIZE_15BIT
Definition: stm32f7xx_hal_spi.h:250
SPI_DIRECTION_2LINES
#define SPI_DIRECTION_2LINES
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:216
SPI_BAUDRATEPRESCALER_128
#define SPI_BAUDRATEPRESCALER_128
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:269
SPI_CRC_LENGTH_25BIT
#define SPI_CRC_LENGTH_25BIT
Definition: stm32h7xx_hal_spi.h:446
SPI_CRC_INITIALIZATION_ALL_ZERO_PATTERN
#define SPI_CRC_INITIALIZATION_ALL_ZERO_PATTERN
Definition: stm32h7xx_hal_spi.h:484
SPI_NSS_HARD_OUTPUT
#define SPI_NSS_HARD_OUTPUT
Definition: stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:255
SPI_CRC_LENGTH_22BIT
#define SPI_CRC_LENGTH_22BIT
Definition: stm32h7xx_hal_spi.h:443
SPI_FIFO_THRESHOLD_07DATA
#define SPI_FIFO_THRESHOLD_07DATA
Definition: stm32h7xx_hal_spi.h:467
SPI_CRC_LENGTH_31BIT
#define SPI_CRC_LENGTH_31BIT
Definition: stm32h7xx_hal_spi.h:452
SPI_CRC_LENGTH_13BIT
#define SPI_CRC_LENGTH_13BIT
Definition: stm32h7xx_hal_spi.h:434
SPI_DATASIZE_6BIT
#define SPI_DATASIZE_6BIT
Definition: stm32f7xx_hal_spi.h:241
SPI_CRC_LENGTH_11BIT
#define SPI_CRC_LENGTH_11BIT
Definition: stm32h7xx_hal_spi.h:432
SPI_FIRSTBIT_MSB
#define SPI_FIRSTBIT_MSB
Definition: stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:278
SPI_FIFO_THRESHOLD_12DATA
#define SPI_FIFO_THRESHOLD_12DATA
Definition: stm32h7xx_hal_spi.h:472
SPI_FIFO_THRESHOLD_15DATA
#define SPI_FIFO_THRESHOLD_15DATA
Definition: stm32h7xx_hal_spi.h:475
SPI_DATASIZE_7BIT
#define SPI_DATASIZE_7BIT
Definition: stm32f7xx_hal_spi.h:242
SPI_CRCCALCULATION_DISABLE
#define SPI_CRCCALCULATION_DISABLE
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:296
SPI_UNDERRUN_BEHAV_LAST_TRANSMITTED
#define SPI_UNDERRUN_BEHAV_LAST_TRANSMITTED
Definition: stm32h7xx_hal_spi.h:587
SPI_CRC_LENGTH_16BIT
#define SPI_CRC_LENGTH_16BIT
Definition: stm32f7xx_hal_spi.h:344
SPI_DATASIZE_24BIT
#define SPI_DATASIZE_24BIT
Definition: stm32h7xx_hal_spi.h:329
SPI_FIFO_THRESHOLD_01DATA
#define SPI_FIFO_THRESHOLD_01DATA
Definition: stm32h7xx_hal_spi.h:461
SPI_CRC_LENGTH_9BIT
#define SPI_CRC_LENGTH_9BIT
Definition: stm32h7xx_hal_spi.h:430
SPI_CRC_LENGTH_4BIT
#define SPI_CRC_LENGTH_4BIT
Definition: stm32h7xx_hal_spi.h:425
SPI_DATASIZE_10BIT
#define SPI_DATASIZE_10BIT
Definition: stm32f7xx_hal_spi.h:245
SPI_POLARITY_LOW
#define SPI_POLARITY_LOW
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:235
SPI_DATASIZE_25BIT
#define SPI_DATASIZE_25BIT
Definition: stm32h7xx_hal_spi.h:330
SPI_FIFO_THRESHOLD_11DATA
#define SPI_FIFO_THRESHOLD_11DATA
Definition: stm32h7xx_hal_spi.h:471
SPI_TIMODE_DISABLE
#define SPI_TIMODE_DISABLE
Definition: stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:287
SPI_DATASIZE_23BIT
#define SPI_DATASIZE_23BIT
Definition: stm32h7xx_hal_spi.h:328
SPI_FIFO_THRESHOLD_06DATA
#define SPI_FIFO_THRESHOLD_06DATA
Definition: stm32h7xx_hal_spi.h:466
SPI_CRC_LENGTH_29BIT
#define SPI_CRC_LENGTH_29BIT
Definition: stm32h7xx_hal_spi.h:450
SPI_UNDERRUN_DETECT_END_DATA_FRAME
#define SPI_UNDERRUN_DETECT_END_DATA_FRAME
Definition: stm32h7xx_hal_spi.h:576
SPI_DATASIZE_18BIT
#define SPI_DATASIZE_18BIT
Definition: stm32h7xx_hal_spi.h:323
SPI_DATASIZE_12BIT
#define SPI_DATASIZE_12BIT
Definition: stm32f7xx_hal_spi.h:247
SPI_BAUDRATEPRESCALER_16
#define SPI_BAUDRATEPRESCALER_16
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:266
SPI_FIFO_THRESHOLD_08DATA
#define SPI_FIFO_THRESHOLD_08DATA
Definition: stm32h7xx_hal_spi.h:468
SPI_BAUDRATEPRESCALER_256
#define SPI_BAUDRATEPRESCALER_256
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:270
SPI_DATASIZE_4BIT
#define SPI_DATASIZE_4BIT
Definition: stm32f7xx_hal_spi.h:239
SPI_TIMODE_DISABLE
#define SPI_TIMODE_DISABLE
Definition: stm32h7xx_hal_spi.h:406
SPI_DATASIZE_17BIT
#define SPI_DATASIZE_17BIT
Definition: stm32h7xx_hal_spi.h:322
SPI_CRC_LENGTH_24BIT
#define SPI_CRC_LENGTH_24BIT
Definition: stm32h7xx_hal_spi.h:445
SPI_NSS_SOFT
#define SPI_NSS_SOFT
Definition: stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:253
SPI_CRC_LENGTH_19BIT
#define SPI_CRC_LENGTH_19BIT
Definition: stm32h7xx_hal_spi.h:440
SPI_FIFO_THRESHOLD_13DATA
#define SPI_FIFO_THRESHOLD_13DATA
Definition: stm32h7xx_hal_spi.h:473
SPI_PHASE_2EDGE
#define SPI_PHASE_2EDGE
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:245
SPI_DATASIZE_26BIT
#define SPI_DATASIZE_26BIT
Definition: stm32h7xx_hal_spi.h:331
SPI_CRC_LENGTH_DATASIZE
#define SPI_CRC_LENGTH_DATASIZE
Definition: stm32f7xx_hal_spi.h:342
SPI_DATASIZE_8BIT
#define SPI_DATASIZE_8BIT
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:226
SPI_DATASIZE_11BIT
#define SPI_DATASIZE_11BIT
Definition: stm32f7xx_hal_spi.h:246
SPI_CRC_LENGTH_15BIT
#define SPI_CRC_LENGTH_15BIT
Definition: stm32h7xx_hal_spi.h:436
SPI_FIRSTBIT_LSB
#define SPI_FIRSTBIT_LSB
Definition: stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:279
SPI_DATASIZE_28BIT
#define SPI_DATASIZE_28BIT
Definition: stm32h7xx_hal_spi.h:333
SPI_CRC_LENGTH_18BIT
#define SPI_CRC_LENGTH_18BIT
Definition: stm32h7xx_hal_spi.h:439
SPI_FIFO_THRESHOLD_03DATA
#define SPI_FIFO_THRESHOLD_03DATA
Definition: stm32h7xx_hal_spi.h:463
SPI_CRC_LENGTH_32BIT
#define SPI_CRC_LENGTH_32BIT
Definition: stm32h7xx_hal_spi.h:453
SPI_NSS_PULSE_ENABLE
#define SPI_NSS_PULSE_ENABLE
Definition: stm32f7xx_hal_spi.h:287
SPI_DATASIZE_16BIT
#define SPI_DATASIZE_16BIT
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:227
SPI_FIFO_THRESHOLD_16DATA
#define SPI_FIFO_THRESHOLD_16DATA
Definition: stm32h7xx_hal_spi.h:476
SPI_CRC_LENGTH_28BIT
#define SPI_CRC_LENGTH_28BIT
Definition: stm32h7xx_hal_spi.h:449
SPI_CRC_LENGTH_14BIT
#define SPI_CRC_LENGTH_14BIT
Definition: stm32h7xx_hal_spi.h:435
SPI_BAUDRATEPRESCALER_32
#define SPI_BAUDRATEPRESCALER_32
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:267
SPI_FIFO_THRESHOLD_04DATA
#define SPI_FIFO_THRESHOLD_04DATA
Definition: stm32h7xx_hal_spi.h:464
SPI_CRC_LENGTH_7BIT
#define SPI_CRC_LENGTH_7BIT
Definition: stm32h7xx_hal_spi.h:428
SPI_UNDERRUN_BEHAV_REGISTER_PATTERN
#define SPI_UNDERRUN_BEHAV_REGISTER_PATTERN
Definition: stm32h7xx_hal_spi.h:585
SPI_DATASIZE_19BIT
#define SPI_DATASIZE_19BIT
Definition: stm32h7xx_hal_spi.h:324
SPI_MODE_SLAVE
#define SPI_MODE_SLAVE
Definition: stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:207


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:07