|
STM32F4xx HAL Driver master
STM32CubeF4 HAL / LL Drivers API Reference
|
Macros | |
| #define | __HAL_SPI_RESET_HANDLE_STATE(__HANDLE__) |
| Reset SPI handle state. | |
| #define | __HAL_SPI_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
| Enable the specified SPI interrupts. | |
| #define | __HAL_SPI_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
| Disable the specified SPI interrupts. | |
| #define | __HAL_SPI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
| Check whether the specified SPI interrupt source is enabled or not. | |
| #define | __HAL_SPI_GET_FLAG(__HANDLE__, __FLAG__) |
| Check whether the specified SPI flag is set or not. | |
| #define | __HAL_SPI_CLEAR_CRCERRFLAG(__HANDLE__) |
| Clear the SPI CRCERR pending flag. | |
| #define | __HAL_SPI_CLEAR_MODFFLAG(__HANDLE__) |
| Clear the SPI MODF pending flag. | |
| #define | __HAL_SPI_CLEAR_OVRFLAG(__HANDLE__) |
| Clear the SPI OVR pending flag. | |
| #define | __HAL_SPI_CLEAR_FREFLAG(__HANDLE__) |
| Clear the SPI FRE pending flag. | |
| #define | __HAL_SPI_ENABLE(__HANDLE__) |
| Enable the SPI peripheral. | |
| #define | __HAL_SPI_DISABLE(__HANDLE__) |
| Disable the SPI peripheral. | |
| #define __HAL_SPI_CLEAR_CRCERRFLAG | ( | __HANDLE__ | ) |
Clear the SPI CRCERR pending flag.
| __HANDLE__ | 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 stm32f4xx_hal_spi.h.
| #define __HAL_SPI_CLEAR_FREFLAG | ( | __HANDLE__ | ) |
Clear the SPI FRE pending flag.
| __HANDLE__ | 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 stm32f4xx_hal_spi.h.
| #define __HAL_SPI_CLEAR_MODFFLAG | ( | __HANDLE__ | ) |
Clear the SPI MODF pending flag.
| __HANDLE__ | 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 stm32f4xx_hal_spi.h.
| #define __HAL_SPI_CLEAR_OVRFLAG | ( | __HANDLE__ | ) |
Clear the SPI OVR pending flag.
| __HANDLE__ | 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 stm32f4xx_hal_spi.h.
| #define __HAL_SPI_DISABLE | ( | __HANDLE__ | ) |
Disable the SPI peripheral.
| __HANDLE__ | 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 stm32f4xx_hal_spi.h.
| #define __HAL_SPI_DISABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
Disable the specified SPI interrupts.
| __HANDLE__ | specifies the SPI handle. This parameter can be SPIx where x: 1, 2, or 3 to select the SPI peripheral. |
| __INTERRUPT__ | specifies the interrupt source to disable. This parameter can be one of the following values:
|
| None |
Definition at line 374 of file stm32f4xx_hal_spi.h.
| #define __HAL_SPI_ENABLE | ( | __HANDLE__ | ) |
Enable the SPI peripheral.
| __HANDLE__ | 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 stm32f4xx_hal_spi.h.
| #define __HAL_SPI_ENABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
Enable the specified SPI interrupts.
| __HANDLE__ | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
| __INTERRUPT__ | specifies the interrupt source to enable. This parameter can be one of the following values:
|
| None |
Definition at line 362 of file stm32f4xx_hal_spi.h.
| #define __HAL_SPI_GET_FLAG | ( | __HANDLE__, | |
| __FLAG__ ) |
Check whether the specified SPI flag is set or not.
| __HANDLE__ | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
| __FLAG__ | 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 stm32f4xx_hal_spi.h.
| #define __HAL_SPI_GET_IT_SOURCE | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
Check whether the specified SPI interrupt source is enabled or not.
| __HANDLE__ | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. |
| __INTERRUPT__ | 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 stm32f4xx_hal_spi.h.
| #define __HAL_SPI_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
Reset SPI handle state.
| __HANDLE__ | 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 stm32f4xx_hal_spi.h.