Macros | |
#define | __HAL_XQSPI_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->state = HAL_XQSPI_STATE_RESET) |
Reset XQSPI handle states. More... | |
#define | __HAL_XQSPI_ENABLE_QSPI(__HANDLE__) SET_BITS((__HANDLE__)->p_instance->QSPI.SPIEN, XQSPI_QSPI_EN_EN) |
Enable the specified QSPI peripheral in XQSPI. More... | |
#define | __HAL_XQSPI_DISABLE_QSPI(__HANDLE__) CLEAR_BITS((__HANDLE__)->p_instance->QSPI.SPIEN, XQSPI_QSPI_EN_EN) |
Disable the specified QSPI peripheral in XQSPI. More... | |
#define | __HAL_XQSPI_ENABLE_XIP(__HANDLE__) |
Enable the specified XIP peripheral in XQSPI. More... | |
#define | __HAL_XQSPI_DISABLE_XIP(__HANDLE__) |
Disable the specified XIP peripheral in XQSPI. More... | |
#define | __HAL_XQSPI_ENABLE_CACHE(__HANDLE__) CLEAR_BITS((__HANDLE__)->p_instance->CACHE.CTRL0, XQSPI_CACHE_CTRL0_DIS) |
Enable the specified CACHE peripheral in XQSPI. More... | |
#define | __HAL_XQSPI_DISABLE_CACHE(__HANDLE__) SET_BITS((__HANDLE__)->p_instance->CACHE.CTRL0, XQSPI_CACHE_CTRL0_DIS) |
Disable the specified CACHE peripheral in XQSPI. More... | |
#define | __HAL_XQSPI_GET_FLAG(__HANDLE__, __FLAG__) ((READ_BITS((__HANDLE__)->p_instance->QSPI.STAT, (__FLAG__)) != 0) ? SET : RESET) |
Check whether the specified XQSPI flag is set or not. More... | |
#define __HAL_XQSPI_DISABLE_CACHE | ( | __HANDLE__ | ) | SET_BITS((__HANDLE__)->p_instance->CACHE.CTRL0, XQSPI_CACHE_CTRL0_DIS) |
Disable the specified CACHE peripheral in XQSPI.
__HANDLE__ | specifies the XQSPI Handle. |
None |
Definition at line 435 of file hal_xqspi.h.
#define __HAL_XQSPI_DISABLE_QSPI | ( | __HANDLE__ | ) | CLEAR_BITS((__HANDLE__)->p_instance->QSPI.SPIEN, XQSPI_QSPI_EN_EN) |
Disable the specified QSPI peripheral in XQSPI.
__HANDLE__ | specifies the XQSPI Handle. |
None |
Definition at line 407 of file hal_xqspi.h.
#define __HAL_XQSPI_DISABLE_XIP | ( | __HANDLE__ | ) |
Disable the specified XIP peripheral in XQSPI.
__HANDLE__ | specifies the XQSPI Handle. |
None |
Definition at line 422 of file hal_xqspi.h.
#define __HAL_XQSPI_ENABLE_CACHE | ( | __HANDLE__ | ) | CLEAR_BITS((__HANDLE__)->p_instance->CACHE.CTRL0, XQSPI_CACHE_CTRL0_DIS) |
Enable the specified CACHE peripheral in XQSPI.
__HANDLE__ | specifies the XQSPI Handle. |
None |
Definition at line 429 of file hal_xqspi.h.
#define __HAL_XQSPI_ENABLE_QSPI | ( | __HANDLE__ | ) | SET_BITS((__HANDLE__)->p_instance->QSPI.SPIEN, XQSPI_QSPI_EN_EN) |
Enable the specified QSPI peripheral in XQSPI.
__HANDLE__ | specifies the XQSPI Handle. |
None |
Definition at line 401 of file hal_xqspi.h.
#define __HAL_XQSPI_ENABLE_XIP | ( | __HANDLE__ | ) |
Enable the specified XIP peripheral in XQSPI.
__HANDLE__ | specifies the XQSPI Handle. |
None |
Definition at line 414 of file hal_xqspi.h.
#define __HAL_XQSPI_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((READ_BITS((__HANDLE__)->p_instance->QSPI.STAT, (__FLAG__)) != 0) ? SET : RESET) |
Check whether the specified XQSPI flag is set or not.
__HANDLE__ | specifies the XQSPI Handle. |
__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 450 of file hal_xqspi.h.
#define __HAL_XQSPI_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->state = HAL_XQSPI_STATE_RESET) |
Reset XQSPI handle states.
__HANDLE__ | XQSPI handle. |
None |
Definition at line 395 of file hal_xqspi.h.