Collaboration diagram for DSPI Exported Macros:Macros | |
| #define | __HAL_DSPI_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->state = HAL_DSPI_STATE_RESET) |
| Reset DSPI handle states. More... | |
| #define | __HAL_DSPI_ENABLE(__HANDLE__) SET_BITS((__HANDLE__)->p_instance->CTRL1, DSPI_CR1_EN) |
| Enable the specified DSPI peripheral. More... | |
| #define | __HAL_DSPI_DISABLE(__HANDLE__) CLEAR_BITS((__HANDLE__)->p_instance->CTRL1, DSPI_CR1_EN) |
| Disable the specified DSPI peripheral. More... | |
| #define | __HAL_DSPI_ENABLE_DMATX(__HANDLE__) SET_BITS((__HANDLE__)->p_instance->CTRL2, DSPI_CR2_TXDMAEN) |
| Enable the DSPI DMA TX Request. More... | |
| #define | __HAL_DSPI_ENABLE_DMARX(__HANDLE__) SET_BITS((__HANDLE__)->p_instance->CTRL2, DSPI_CR2_RXDMAEN) |
| Enable the DSPI DMA RX Request. More... | |
| #define | __HAL_DSPI_DISABLE_DMATX(__HANDLE__) CLEAR_BITS((__HANDLE__)->p_instance->CTRL2, DSPI_CR2_TXDMAEN) |
| Disable the DSPI DMA TX Request. More... | |
| #define | __HAL_DSPI_DISABLE_DMARX(__HANDLE__) CLEAR_BITS((__HANDLE__)->p_instance->CTRL2, DSPI_CR2_RXDMAEN) |
| Disable the DSPI DMA RX Request. More... | |
| #define | __HAL_DSPI_ENABLE_IT(__HANDLE__, __INTERRUPT__) SET_BITS((__HANDLE__)->p_instance->CTRL2, (__INTERRUPT__)) |
| Enable the specified DSPI interrupts. More... | |
| #define | __HAL_DSPI_DISABLE_IT(__HANDLE__, __INTERRUPT__) CLEAR_BITS((__HANDLE__)->p_instance->CTRL2, (__INTERRUPT__)) |
| Disable the specified DSPI interrupts. More... | |
| #define | __HAL_DSPI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (READ_BITS((__HANDLE__)->p_instance->CTRL2, (__INTERRUPT__)) == (__INTERRUPT__)) |
| Check whether the specified DSPI interrupt source is enabled or not. More... | |
| #define | __HAL_DSPI_GET_FLAG(__HANDLE__, __FLAG__) ((READ_BITS((__HANDLE__)->p_instance->STAT, (__FLAG__)) != 0) ? SET : RESET) |
| Check whether the specified DSPI flag is set or not. More... | |
| #define | __HAL_DSPI_FLUSH_FIFO(__HANDLE__) ll_dspi_flush_fifo((__HANDLE__)->p_instance) |
| Flush the DSPI receiver FIFO. More... | |
| #define | __HAL_DSPI_TRANSPORT_TYPE(__HANDLE__, __TYPE__) ll_dspi_set_dcx((__HANDLE__)->p_instance, (__TYPE__)) |
| Set the DSPI data transport type. More... | |
| #define __HAL_DSPI_DISABLE | ( | __HANDLE__ | ) | CLEAR_BITS((__HANDLE__)->p_instance->CTRL1, DSPI_CR1_EN) |
Disable the specified DSPI peripheral.
| <strong>HANDLE</strong> | Specifies the DSPI Handle. |
| None |
Definition at line 343 of file gr55xx_hal_dspi.h.
| #define __HAL_DSPI_DISABLE_DMARX | ( | __HANDLE__ | ) | CLEAR_BITS((__HANDLE__)->p_instance->CTRL2, DSPI_CR2_RXDMAEN) |
Disable the DSPI DMA RX Request.
| <strong>HANDLE</strong> | Specifies the DSPI Handle. |
| None |
Definition at line 367 of file gr55xx_hal_dspi.h.
| #define __HAL_DSPI_DISABLE_DMATX | ( | __HANDLE__ | ) | CLEAR_BITS((__HANDLE__)->p_instance->CTRL2, DSPI_CR2_TXDMAEN) |
Disable the DSPI DMA TX Request.
| <strong>HANDLE</strong> | Specifies the DSPI Handle. |
| None |
Definition at line 361 of file gr55xx_hal_dspi.h.
| #define __HAL_DSPI_DISABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ | |||
| ) | CLEAR_BITS((__HANDLE__)->p_instance->CTRL2, (__INTERRUPT__)) |
Disable the specified DSPI interrupts.
| <strong>HANDLE</strong> | Specifies the DSPI handle. |
| <strong>INTERRUPT</strong> | Specifies the interrupt source to disable. This parameter can be one of the following values:
|
| None |
Definition at line 389 of file gr55xx_hal_dspi.h.
| #define __HAL_DSPI_ENABLE | ( | __HANDLE__ | ) | SET_BITS((__HANDLE__)->p_instance->CTRL1, DSPI_CR1_EN) |
Enable the specified DSPI peripheral.
| <strong>HANDLE</strong> | Specifies the DSPI Handle. |
| None |
Definition at line 337 of file gr55xx_hal_dspi.h.
| #define __HAL_DSPI_ENABLE_DMARX | ( | __HANDLE__ | ) | SET_BITS((__HANDLE__)->p_instance->CTRL2, DSPI_CR2_RXDMAEN) |
Enable the DSPI DMA RX Request.
| <strong>HANDLE</strong> | Specifies the DSPI Handle. |
| None |
Definition at line 355 of file gr55xx_hal_dspi.h.
| #define __HAL_DSPI_ENABLE_DMATX | ( | __HANDLE__ | ) | SET_BITS((__HANDLE__)->p_instance->CTRL2, DSPI_CR2_TXDMAEN) |
Enable the DSPI DMA TX Request.
| <strong>HANDLE</strong> | Specifies the DSPI Handle. |
| None |
Definition at line 349 of file gr55xx_hal_dspi.h.
| #define __HAL_DSPI_ENABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ | |||
| ) | SET_BITS((__HANDLE__)->p_instance->CTRL2, (__INTERRUPT__)) |
Enable the specified DSPI interrupts.
| <strong>HANDLE</strong> | Specifies the DSPI Handle. |
| <strong>INTERRUPT</strong> | Specifies the interrupt source to enable. This parameter can be one of the following values:
|
| None |
Definition at line 378 of file gr55xx_hal_dspi.h.
| #define __HAL_DSPI_FLUSH_FIFO | ( | __HANDLE__ | ) | ll_dspi_flush_fifo((__HANDLE__)->p_instance) |
Flush the DSPI receiver FIFO.
| <strong>HANDLE</strong> | Specifies the DSPI Handle. |
| None |
Definition at line 420 of file gr55xx_hal_dspi.h.
| #define __HAL_DSPI_GET_FLAG | ( | __HANDLE__, | |
| __FLAG__ | |||
| ) | ((READ_BITS((__HANDLE__)->p_instance->STAT, (__FLAG__)) != 0) ? SET : RESET) |
Check whether the specified DSPI flag is set or not.
| <strong>HANDLE</strong> | Specifies the DSPI Handle. |
| <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 414 of file gr55xx_hal_dspi.h.
| #define __HAL_DSPI_GET_IT_SOURCE | ( | __HANDLE__, | |
| __INTERRUPT__ | |||
| ) | (READ_BITS((__HANDLE__)->p_instance->CTRL2, (__INTERRUPT__)) == (__INTERRUPT__)) |
Check whether the specified DSPI interrupt source is enabled or not.
| <strong>HANDLE</strong> | Specifies the DSPI Handle. |
| <strong>INTERRUPT</strong> | Specifies the interrupt source to check. This parameter can be one of the following values:
|
| The | new state of IT (TRUE or FALSE). |
Definition at line 400 of file gr55xx_hal_dspi.h.
| #define __HAL_DSPI_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->state = HAL_DSPI_STATE_RESET) |
Reset DSPI handle states.
| <strong>HANDLE</strong> | DPI handle. |
| None |
Definition at line 331 of file gr55xx_hal_dspi.h.
| #define __HAL_DSPI_TRANSPORT_TYPE | ( | __HANDLE__, | |
| __TYPE__ | |||
| ) | ll_dspi_set_dcx((__HANDLE__)->p_instance, (__TYPE__)) |
Set the DSPI data transport type.
| <strong>HANDLE</strong> | Specifies the DSPI Handle. |
| <strong>TYPE</strong> | Specifies the DSPI data transport type. |
| None |
Definition at line 427 of file gr55xx_hal_dspi.h.