Macros | |
#define | __HAL_SPI_CLEAR_CRCERRFLAG(__HANDLE__) ((__HANDLE__)->Instance->SR = (uint16_t)(~SPI_FLAG_CRCERR)) |
Clear the SPI CRCERR pending flag. More... | |
#define | __HAL_SPI_CLEAR_CRCERRFLAG(__HANDLE__) ((__HANDLE__)->Instance->SR = (uint16_t)(~SPI_FLAG_CRCERR)) |
Clear the SPI CRCERR pending flag. More... | |
#define | __HAL_SPI_CLEAR_CRCERRFLAG(__HANDLE__) ((__HANDLE__)->Instance->SR = (uint16_t)(~SPI_FLAG_CRCERR)) |
Clear the SPI CRCERR pending flag. More... | |
#define | __HAL_SPI_CLEAR_CRCERRFLAG(__HANDLE__) SET_BIT((__HANDLE__)->Instance->IFCR , SPI_IFCR_CRCEC) |
Clear the SPI CRCERR pending flag. More... | |
#define | __HAL_SPI_CLEAR_EOTFLAG(__HANDLE__) SET_BIT((__HANDLE__)->Instance->IFCR , SPI_IFCR_EOTC) |
Clear the SPI EOT pending flag. More... | |
#define | __HAL_SPI_CLEAR_FREFLAG(__HANDLE__) |
Clear the SPI FRE pending flag. More... | |
#define | __HAL_SPI_CLEAR_FREFLAG(__HANDLE__) |
Clear the SPI FRE pending flag. More... | |
#define | __HAL_SPI_CLEAR_FREFLAG(__HANDLE__) |
Clear the SPI FRE pending flag. More... | |
#define | __HAL_SPI_CLEAR_FREFLAG(__HANDLE__) SET_BIT((__HANDLE__)->Instance->IFCR , SPI_IFCR_TIFREC) |
Clear the SPI FRE pending flag. More... | |
#define | __HAL_SPI_CLEAR_MODFFLAG(__HANDLE__) |
Clear the SPI MODF pending flag. More... | |
#define | __HAL_SPI_CLEAR_MODFFLAG(__HANDLE__) |
Clear the SPI MODF pending flag. More... | |
#define | __HAL_SPI_CLEAR_MODFFLAG(__HANDLE__) |
Clear the SPI MODF pending flag. More... | |
#define | __HAL_SPI_CLEAR_MODFFLAG(__HANDLE__) SET_BIT((__HANDLE__)->Instance->IFCR , (uint32_t)(SPI_IFCR_MODFC)); |
Clear the SPI MODF pending flag. More... | |
#define | __HAL_SPI_CLEAR_OVRFLAG(__HANDLE__) |
Clear the SPI OVR pending flag. More... | |
#define | __HAL_SPI_CLEAR_OVRFLAG(__HANDLE__) |
Clear the SPI OVR pending flag. More... | |
#define | __HAL_SPI_CLEAR_OVRFLAG(__HANDLE__) |
Clear the SPI OVR pending flag. More... | |
#define | __HAL_SPI_CLEAR_OVRFLAG(__HANDLE__) SET_BIT((__HANDLE__)->Instance->IFCR , SPI_IFCR_OVRC) |
Clear the SPI OVR pending flag. More... | |
#define | __HAL_SPI_CLEAR_SUSPFLAG(__HANDLE__) SET_BIT((__HANDLE__)->Instance->IFCR , SPI_IFCR_SUSPC) |
Clear the SPI SUSP pending flag. More... | |
#define | __HAL_SPI_CLEAR_TSERFFLAG(__HANDLE__) SET_BIT((__HANDLE__)->Instance->IFCR , SPI_IFCR_TSERFC) |
Clear the SPI TSERF pending flag. More... | |
#define | __HAL_SPI_CLEAR_TXTFFLAG(__HANDLE__) SET_BIT((__HANDLE__)->Instance->IFCR , SPI_IFCR_TXTFC) |
Clear the SPI UDR pending flag. More... | |
#define | __HAL_SPI_CLEAR_UDRFLAG(__HANDLE__) SET_BIT((__HANDLE__)->Instance->IFCR , SPI_IFCR_UDRC) |
Clear the SPI UDR pending flag. More... | |
#define | __HAL_SPI_DISABLE(__HANDLE__) CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_SPE) |
Disable the SPI peripheral. More... | |
#define | __HAL_SPI_DISABLE(__HANDLE__) CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_SPE) |
Disable the SPI peripheral. More... | |
#define | __HAL_SPI_DISABLE(__HANDLE__) CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_SPE) |
Disable the SPI peripheral. More... | |
#define | __HAL_SPI_DISABLE(__HANDLE__) CLEAR_BIT((__HANDLE__)->Instance->CR1 , SPI_CR1_SPE) |
Disable the SPI peripheral. More... | |
#define | __HAL_SPI_DISABLE_IT(__HANDLE__, __INTERRUPT__) CLEAR_BIT((__HANDLE__)->Instance->CR2, (__INTERRUPT__)) |
Disable the specified SPI interrupts. More... | |
#define | __HAL_SPI_DISABLE_IT(__HANDLE__, __INTERRUPT__) CLEAR_BIT((__HANDLE__)->Instance->CR2, (__INTERRUPT__)) |
Disable the specified SPI interrupts. More... | |
#define | __HAL_SPI_DISABLE_IT(__HANDLE__, __INTERRUPT__) CLEAR_BIT((__HANDLE__)->Instance->CR2, (__INTERRUPT__)) |
Disable the specified SPI interrupts. More... | |
#define | __HAL_SPI_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IER &= (~(__INTERRUPT__))) |
Disable the specified SPI interrupts. More... | |
#define | __HAL_SPI_ENABLE(__HANDLE__) SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_SPE) |
Enable the SPI peripheral. More... | |
#define | __HAL_SPI_ENABLE(__HANDLE__) SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_SPE) |
Enable the SPI peripheral. More... | |
#define | __HAL_SPI_ENABLE(__HANDLE__) SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_SPE) |
Enable the SPI peripheral. More... | |
#define | __HAL_SPI_ENABLE(__HANDLE__) SET_BIT((__HANDLE__)->Instance->CR1 , SPI_CR1_SPE) |
Enable the SPI peripheral. More... | |
#define | __HAL_SPI_ENABLE_IT(__HANDLE__, __INTERRUPT__) SET_BIT((__HANDLE__)->Instance->CR2, (__INTERRUPT__)) |
Enable the specified SPI interrupts. More... | |
#define | __HAL_SPI_ENABLE_IT(__HANDLE__, __INTERRUPT__) SET_BIT((__HANDLE__)->Instance->CR2, (__INTERRUPT__)) |
Enable the specified SPI interrupts. More... | |
#define | __HAL_SPI_ENABLE_IT(__HANDLE__, __INTERRUPT__) SET_BIT((__HANDLE__)->Instance->CR2, (__INTERRUPT__)) |
Enable the specified SPI interrupts. More... | |
#define | __HAL_SPI_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IER |= (__INTERRUPT__)) |
Enable the specified SPI interrupts. More... | |
#define | __HAL_SPI_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Check whether the specified SPI flag is set or not. More... | |
#define | __HAL_SPI_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Check whether the specified SPI flag is set or not. More... | |
#define | __HAL_SPI_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Check whether the specified SPI flag is set or not. More... | |
#define | __HAL_SPI_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Check whether the specified SPI flag is set or not. More... | |
#define | __HAL_SPI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
Check whether the specified SPI interrupt source is enabled or not. More... | |
#define | __HAL_SPI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
Check whether the specified SPI interrupt source is enabled or not. More... | |
#define | __HAL_SPI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((((__HANDLE__)->Instance->CR2 & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
Check whether the specified SPI interrupt source is enabled or not. More... | |
#define | __HAL_SPI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((((__HANDLE__)->Instance->IER & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
Check whether the specified SPI interrupt source is enabled or not. More... | |
#define | __HAL_SPI_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_SPI_STATE_RESET) |
Reset SPI handle state. More... | |
#define | __HAL_SPI_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_SPI_STATE_RESET) |
Reset SPI handle state. More... | |
#define | __HAL_SPI_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_SPI_STATE_RESET) |
Reset SPI handle state. More... | |
#define | __HAL_SPI_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_SPI_STATE_RESET) |
Reset SPI handle state. More... | |
#define __HAL_SPI_CLEAR_CRCERRFLAG | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->SR = (uint16_t)(~SPI_FLAG_CRCERR)) |
Clear the SPI CRCERR pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 410 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_CLEAR_CRCERRFLAG | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->SR = (uint16_t)(~SPI_FLAG_CRCERR)) |
Clear the SPI CRCERR pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 410 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_CLEAR_CRCERRFLAG | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->SR = (uint16_t)(~SPI_FLAG_CRCERR)) |
Clear the SPI CRCERR pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 497 of file stm32f7xx_hal_spi.h.
#define __HAL_SPI_CLEAR_CRCERRFLAG | ( | __HANDLE__ | ) | SET_BIT((__HANDLE__)->Instance->IFCR , SPI_IFCR_CRCEC) |
Clear the SPI CRCERR pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. |
None |
Definition at line 759 of file stm32h7xx_hal_spi.h.
#define __HAL_SPI_CLEAR_EOTFLAG | ( | __HANDLE__ | ) | SET_BIT((__HANDLE__)->Instance->IFCR , SPI_IFCR_EOTC) |
Clear the SPI EOT pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. |
None |
Definition at line 789 of file stm32h7xx_hal_spi.h.
#define __HAL_SPI_CLEAR_FREFLAG | ( | __HANDLE__ | ) |
Clear the SPI FRE pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 443 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_CLEAR_FREFLAG | ( | __HANDLE__ | ) |
Clear the SPI FRE pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 443 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_CLEAR_FREFLAG | ( | __HANDLE__ | ) |
Clear the SPI FRE pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 530 of file stm32f7xx_hal_spi.h.
#define __HAL_SPI_CLEAR_FREFLAG | ( | __HANDLE__ | ) | SET_BIT((__HANDLE__)->Instance->IFCR , SPI_IFCR_TIFREC) |
Clear the SPI FRE pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. |
None |
Definition at line 777 of file stm32h7xx_hal_spi.h.
#define __HAL_SPI_CLEAR_MODFFLAG | ( | __HANDLE__ | ) |
Clear the SPI MODF pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 417 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_CLEAR_MODFFLAG | ( | __HANDLE__ | ) |
Clear the SPI MODF pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 417 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_CLEAR_MODFFLAG | ( | __HANDLE__ | ) |
Clear the SPI MODF pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 504 of file stm32f7xx_hal_spi.h.
#define __HAL_SPI_CLEAR_MODFFLAG | ( | __HANDLE__ | ) | SET_BIT((__HANDLE__)->Instance->IFCR , (uint32_t)(SPI_IFCR_MODFC)); |
Clear the SPI MODF pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. |
None |
Definition at line 765 of file stm32h7xx_hal_spi.h.
#define __HAL_SPI_CLEAR_OVRFLAG | ( | __HANDLE__ | ) |
Clear the SPI OVR pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 430 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_CLEAR_OVRFLAG | ( | __HANDLE__ | ) |
Clear the SPI OVR pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 430 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_CLEAR_OVRFLAG | ( | __HANDLE__ | ) |
Clear the SPI OVR pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 517 of file stm32f7xx_hal_spi.h.
#define __HAL_SPI_CLEAR_OVRFLAG | ( | __HANDLE__ | ) | SET_BIT((__HANDLE__)->Instance->IFCR , SPI_IFCR_OVRC) |
Clear the SPI OVR pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. |
None |
Definition at line 771 of file stm32h7xx_hal_spi.h.
#define __HAL_SPI_CLEAR_SUSPFLAG | ( | __HANDLE__ | ) | SET_BIT((__HANDLE__)->Instance->IFCR , SPI_IFCR_SUSPC) |
Clear the SPI SUSP pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. |
None |
Definition at line 801 of file stm32h7xx_hal_spi.h.
#define __HAL_SPI_CLEAR_TSERFFLAG | ( | __HANDLE__ | ) | SET_BIT((__HANDLE__)->Instance->IFCR , SPI_IFCR_TSERFC) |
Clear the SPI TSERF pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. |
None |
Definition at line 807 of file stm32h7xx_hal_spi.h.
#define __HAL_SPI_CLEAR_TXTFFLAG | ( | __HANDLE__ | ) | SET_BIT((__HANDLE__)->Instance->IFCR , SPI_IFCR_TXTFC) |
Clear the SPI UDR pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. |
None |
Definition at line 795 of file stm32h7xx_hal_spi.h.
#define __HAL_SPI_CLEAR_UDRFLAG | ( | __HANDLE__ | ) | SET_BIT((__HANDLE__)->Instance->IFCR , SPI_IFCR_UDRC) |
Clear the SPI UDR pending flag.
<strong>HANDLE</strong> | specifies the SPI Handle. |
None |
Definition at line 783 of file stm32h7xx_hal_spi.h.
#define __HAL_SPI_DISABLE | ( | __HANDLE__ | ) | CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_SPE) |
Disable the SPI peripheral.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 462 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_DISABLE | ( | __HANDLE__ | ) | CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_SPE) |
Disable the SPI peripheral.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 462 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_DISABLE | ( | __HANDLE__ | ) | CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_SPE) |
Disable the SPI peripheral.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 549 of file stm32f7xx_hal_spi.h.
#define __HAL_SPI_DISABLE | ( | __HANDLE__ | ) | CLEAR_BIT((__HANDLE__)->Instance->CR1 , SPI_CR1_SPE) |
Disable the SPI peripheral.
<strong>HANDLE</strong> | specifies the SPI Handle. |
None |
Definition at line 819 of file stm32h7xx_hal_spi.h.
#define __HAL_SPI_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | CLEAR_BIT((__HANDLE__)->Instance->CR2, (__INTERRUPT__)) |
Disable the specified SPI interrupts.
<strong>HANDLE</strong> | specifies the SPI handle. This parameter can be SPIx where x: 1, 2, or 3 to select the SPI peripheral. |
<strong>INTERRUPT</strong> | specifies the interrupt source to disable. This parameter can be one of the following values:
|
None |
Definition at line 374 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | CLEAR_BIT((__HANDLE__)->Instance->CR2, (__INTERRUPT__)) |
Disable the specified SPI interrupts.
<strong>HANDLE</strong> | specifies the SPI handle. This parameter can be SPIx where x: 1, 2, or 3 to select the SPI peripheral. |
<strong>INTERRUPT</strong> | specifies the interrupt source to disable. This parameter can be one of the following values:
|
None |
Definition at line 374 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | CLEAR_BIT((__HANDLE__)->Instance->CR2, (__INTERRUPT__)) |
Disable the specified SPI interrupts.
<strong>HANDLE</strong> | specifies the SPI handle. This parameter can be SPIx where x: 1, 2, or 3 to select the SPI peripheral. |
<strong>INTERRUPT</strong> | specifies the interrupt source to disable. This parameter can be one of the following values:
|
None |
Definition at line 460 of file stm32f7xx_hal_spi.h.
#define __HAL_SPI_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IER &= (~(__INTERRUPT__))) |
Disable the specified SPI interrupts.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, 3, 4, 5 or 6 to select the SPI peripheral. |
<strong>INTERRUPT</strong> | specifies the interrupt source to enable or disable. This parameter can be one of the following values:
|
None |
Definition at line 708 of file stm32h7xx_hal_spi.h.
#define __HAL_SPI_ENABLE | ( | __HANDLE__ | ) | SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_SPE) |
Enable the SPI peripheral.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 455 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_ENABLE | ( | __HANDLE__ | ) | SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_SPE) |
Enable the SPI peripheral.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 455 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_ENABLE | ( | __HANDLE__ | ) | SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_SPE) |
Enable the SPI peripheral.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 542 of file stm32f7xx_hal_spi.h.
#define __HAL_SPI_ENABLE | ( | __HANDLE__ | ) | SET_BIT((__HANDLE__)->Instance->CR1 , SPI_CR1_SPE) |
Enable the SPI peripheral.
<strong>HANDLE</strong> | specifies the SPI Handle. |
None |
Definition at line 813 of file stm32h7xx_hal_spi.h.
#define __HAL_SPI_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | SET_BIT((__HANDLE__)->Instance->CR2, (__INTERRUPT__)) |
Enable the specified SPI interrupts.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
<strong>INTERRUPT</strong> | specifies the interrupt source to enable. This parameter can be one of the following values:
|
None |
Definition at line 362 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | SET_BIT((__HANDLE__)->Instance->CR2, (__INTERRUPT__)) |
Enable the specified SPI interrupts.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
<strong>INTERRUPT</strong> | specifies the interrupt source to enable. This parameter can be one of the following values:
|
None |
Definition at line 362 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | SET_BIT((__HANDLE__)->Instance->CR2, (__INTERRUPT__)) |
Enable the specified SPI interrupts.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
<strong>INTERRUPT</strong> | specifies the interrupt source to enable. This parameter can be one of the following values:
|
None |
Definition at line 448 of file stm32f7xx_hal_spi.h.
#define __HAL_SPI_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IER |= (__INTERRUPT__)) |
Enable the specified SPI interrupts.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, 3, 4, 5 or 6 to select the SPI peripheral. |
<strong>INTERRUPT</strong> | specifies the interrupt source to enable or disable. This parameter can be one of the following values:
|
None |
Definition at line 687 of file stm32h7xx_hal_spi.h.
#define __HAL_SPI_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Check whether the specified SPI flag is set or not.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
<strong>FLAG</strong> | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of FLAG (TRUE or FALSE). |
Definition at line 403 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Check whether the specified SPI flag is set or not.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
<strong>FLAG</strong> | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of FLAG (TRUE or FALSE). |
Definition at line 403 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Check whether the specified SPI flag is set or not.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
<strong>FLAG</strong> | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of FLAG (TRUE or FALSE). |
Definition at line 490 of file stm32f7xx_hal_spi.h.
#define __HAL_SPI_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Check whether the specified SPI flag is set or not.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, 3, 4, 5 or 6 to select the SPI peripheral. |
<strong>FLAG</strong> | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of FLAG (TRUE or FALSE). |
Definition at line 753 of file stm32h7xx_hal_spi.h.
#define __HAL_SPI_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Check whether the specified SPI interrupt source is enabled or not.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
<strong>INTERRUPT</strong> | specifies the SPI interrupt source to check. This parameter can be one of the following values:
|
The | new state of IT (TRUE or FALSE). |
Definition at line 386 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Check whether the specified SPI interrupt source is enabled or not.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
<strong>INTERRUPT</strong> | specifies the SPI interrupt source to check. This parameter can be one of the following values:
|
The | new state of IT (TRUE or FALSE). |
Definition at line 386 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((((__HANDLE__)->Instance->CR2 & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
Check whether the specified SPI interrupt source is enabled or not.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
<strong>INTERRUPT</strong> | specifies the SPI interrupt source to check. This parameter can be one of the following values:
|
The | new state of IT (TRUE or FALSE). |
Definition at line 472 of file stm32f7xx_hal_spi.h.
#define __HAL_SPI_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((((__HANDLE__)->Instance->IER & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
Check whether the specified SPI interrupt source is enabled or not.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, 3, 4, 5 or 6 to select the SPI peripheral. |
<strong>INTERRUPT</strong> | specifies the SPI interrupt source to check. This parameter can be one of the following values:
|
The | new state of IT (TRUE or FALSE). |
Definition at line 729 of file stm32h7xx_hal_spi.h.
#define __HAL_SPI_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->State = HAL_SPI_STATE_RESET) |
Reset SPI handle state.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 349 of file stm32f411/stm32f411e-disco/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->State = HAL_SPI_STATE_RESET) |
Reset SPI handle state.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 349 of file stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h.
#define __HAL_SPI_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->State = HAL_SPI_STATE_RESET) |
Reset SPI handle state.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
None |
Definition at line 435 of file stm32f7xx_hal_spi.h.
#define __HAL_SPI_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->State = HAL_SPI_STATE_RESET) |
Reset SPI handle state.
<strong>HANDLE</strong> | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, 3, 4, 5 or 6 to select the SPI peripheral. |
None |
Definition at line 665 of file stm32h7xx_hal_spi.h.