STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
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_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_spi.h>
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 348 of file stm32f4xx_hal_spi.h.
#define __HAL_SPI_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_spi.h>
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 361 of file stm32f4xx_hal_spi.h.
Referenced by HAL_SPI_Receive_DMA(), HAL_SPI_Receive_IT(), HAL_SPI_Transmit_DMA(), HAL_SPI_Transmit_IT(), HAL_SPI_TransmitReceive_DMA(), and HAL_SPI_TransmitReceive_IT().
#define __HAL_SPI_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_spi.h>
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 373 of file stm32f4xx_hal_spi.h.
Referenced by HAL_SPI_IRQHandler(), SPI_2linesRxISR_16BIT(), SPI_2linesRxISR_8BIT(), SPI_2linesTxISR_16BIT(), SPI_2linesTxISR_8BIT(), SPI_CloseRx_ISR(), SPI_CloseRxTx_ISR(), SPI_CloseTx_ISR(), SPI_DMAReceiveCplt(), SPI_DMATransmitCplt(), SPI_DMATransmitReceiveCplt(), and SPI_WaitFlagStateUntilTimeout().
#define __HAL_SPI_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_spi.h>
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 385 of file stm32f4xx_hal_spi.h.
#define __HAL_SPI_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_spi.h>
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 402 of file stm32f4xx_hal_spi.h.
Referenced by HAL_SPI_Receive(), HAL_SPI_Transmit(), HAL_SPI_TransmitReceive(), SPI_CloseRx_ISR(), SPI_CloseRxTx_ISR(), SPI_DMAReceiveCplt(), SPI_DMATransmitReceiveCplt(), SPI_EndRxTxTransaction(), and SPI_WaitFlagStateUntilTimeout().
#define __HAL_SPI_CLEAR_CRCERRFLAG | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_spi.h>
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 409 of file stm32f4xx_hal_spi.h.
Referenced by HAL_SPI_Receive(), HAL_SPI_TransmitReceive(), SPI_CloseRx_ISR(), SPI_CloseRxTx_ISR(), SPI_DMAReceiveCplt(), and SPI_DMATransmitReceiveCplt().
#define __HAL_SPI_CLEAR_MODFFLAG | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_spi.h>
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 416 of file stm32f4xx_hal_spi.h.
Referenced by HAL_SPI_IRQHandler().
#define __HAL_SPI_CLEAR_OVRFLAG | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_spi.h>
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 429 of file stm32f4xx_hal_spi.h.
Referenced by HAL_SPI_Abort(), HAL_SPI_Abort_IT(), HAL_SPI_IRQHandler(), HAL_SPI_Transmit(), HAL_SPI_TransmitReceive(), SPI_CloseRx_ISR(), SPI_CloseRxTx_ISR(), SPI_CloseTx_ISR(), SPI_DMARxAbortCallback(), SPI_DMATransmitCplt(), and SPI_DMATxAbortCallback().
#define __HAL_SPI_CLEAR_FREFLAG | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_spi.h>
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 442 of file stm32f4xx_hal_spi.h.
Referenced by HAL_SPI_Abort(), HAL_SPI_Abort_IT(), HAL_SPI_IRQHandler(), SPI_DMARxAbortCallback(), and SPI_DMATxAbortCallback().
#define __HAL_SPI_ENABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_spi.h>
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 454 of file stm32f4xx_hal_spi.h.
Referenced by HAL_SPI_Receive(), HAL_SPI_Receive_DMA(), HAL_SPI_Receive_IT(), HAL_SPI_Transmit(), HAL_SPI_Transmit_DMA(), HAL_SPI_Transmit_IT(), HAL_SPI_TransmitReceive(), HAL_SPI_TransmitReceive_DMA(), and HAL_SPI_TransmitReceive_IT().
#define __HAL_SPI_DISABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_spi.h>
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 461 of file stm32f4xx_hal_spi.h.
Referenced by HAL_SPI_Abort(), HAL_SPI_DeInit(), HAL_SPI_Init(), HAL_SPI_Receive(), HAL_SPI_Receive_DMA(), HAL_SPI_Receive_IT(), HAL_SPI_Transmit(), HAL_SPI_Transmit_DMA(), HAL_SPI_Transmit_IT(), SPI_AbortRx_ISR(), SPI_AbortTx_ISR(), SPI_DMARxAbortCallback(), SPI_EndRxTransaction(), and SPI_WaitFlagStateUntilTimeout().