![]() |
RTEMS 6.3
|
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_CLEAR_UDRFLAG(__HANDLE__) |
| Clear the SPI UDR pending flag. | |
| #define | __HAL_SPI_CLEAR_EOTFLAG(__HANDLE__) |
| Clear the SPI EOT pending flag. | |
| #define | __HAL_SPI_CLEAR_TXTFFLAG(__HANDLE__) |
| Clear the SPI UDR pending flag. | |
| #define | __HAL_SPI_CLEAR_SUSPFLAG(__HANDLE__) |
| Clear the SPI SUSP pending flag. | |
| #define | __HAL_SPI_CLEAR_TSERFFLAG(__HANDLE__) |
| Clear the SPI TSERF 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. |
| None |
| #define __HAL_SPI_CLEAR_EOTFLAG | ( | __HANDLE__ | ) |
Clear the SPI EOT pending flag.
| __HANDLE__ | specifies the SPI Handle. |
| None |
| #define __HAL_SPI_CLEAR_FREFLAG | ( | __HANDLE__ | ) |
Clear the SPI FRE pending flag.
| __HANDLE__ | specifies the SPI Handle. |
| None |
| #define __HAL_SPI_CLEAR_MODFFLAG | ( | __HANDLE__ | ) |
Clear the SPI MODF pending flag.
| __HANDLE__ | specifies the SPI Handle. |
| None |
| #define __HAL_SPI_CLEAR_OVRFLAG | ( | __HANDLE__ | ) |
Clear the SPI OVR pending flag.
| __HANDLE__ | specifies the SPI Handle. |
| None |
| #define __HAL_SPI_CLEAR_SUSPFLAG | ( | __HANDLE__ | ) |
Clear the SPI SUSP pending flag.
| __HANDLE__ | specifies the SPI Handle. |
| None |
| #define __HAL_SPI_CLEAR_TSERFFLAG | ( | __HANDLE__ | ) |
Clear the SPI TSERF pending flag.
| __HANDLE__ | specifies the SPI Handle. |
| None |
| #define __HAL_SPI_CLEAR_TXTFFLAG | ( | __HANDLE__ | ) |
Clear the SPI UDR pending flag.
| __HANDLE__ | specifies the SPI Handle. |
| None |
| #define __HAL_SPI_CLEAR_UDRFLAG | ( | __HANDLE__ | ) |
Clear the SPI UDR pending flag.
| __HANDLE__ | specifies the SPI Handle. |
| None |
| #define __HAL_SPI_DISABLE | ( | __HANDLE__ | ) |
Disable the SPI peripheral.
| __HANDLE__ | specifies the SPI Handle. |
| None |
| #define __HAL_SPI_DISABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
Disable the specified SPI interrupts.
| __HANDLE__ | specifies the SPI Handle. This parameter can be SPI where x: 1, 2, 3, 4, 5 or 6 to select the SPI peripheral. |
| __INTERRUPT__ | specifies the interrupt source to enable or disable. This parameter can be one of the following values:
|
| None |
| #define __HAL_SPI_ENABLE | ( | __HANDLE__ | ) |
Enable the SPI peripheral.
| __HANDLE__ | specifies the SPI Handle. |
| None |
| #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, 3, 4, 5 or 6 to select the SPI peripheral. |
| __INTERRUPT__ | specifies the interrupt source to enable or disable. This parameter can be one of the following values:
|
| None |
| #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, 3, 4, 5 or 6 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). |
| #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, 3, 4, 5 or 6 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). |
| #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, 3, 4, 5 or 6 to select the SPI peripheral. |
| None |