STM32L486xx HAL User Manual
Functions
Peripheral Control and State functions
QSPI Exported Functions

QSPI control and State functions. More...

Functions

HAL_QSPI_StateTypeDef HAL_QSPI_GetState (QSPI_HandleTypeDef *hqspi)
 Return the QSPI handle state.
uint32_t HAL_QSPI_GetError (QSPI_HandleTypeDef *hqspi)
 Return the QSPI error code.
HAL_StatusTypeDef HAL_QSPI_Abort (QSPI_HandleTypeDef *hqspi)
 Abort the current transmission.
HAL_StatusTypeDef HAL_QSPI_Abort_IT (QSPI_HandleTypeDef *hqspi)
 Abort the current transmission (non-blocking function)
void HAL_QSPI_SetTimeout (QSPI_HandleTypeDef *hqspi, uint32_t Timeout)
 Set QSPI timeout.
HAL_StatusTypeDef HAL_QSPI_SetFifoThreshold (QSPI_HandleTypeDef *hqspi, uint32_t Threshold)
 Set QSPI Fifo threshold.
uint32_t HAL_QSPI_GetFifoThreshold (QSPI_HandleTypeDef *hqspi)
 Get QSPI Fifo threshold.

Detailed Description

QSPI control and State functions.

 ===============================================================================
                  ##### Peripheral Control and State functions #####
 ===============================================================================
    [..]
    This subsection provides a set of functions allowing to :
      (+) Check in run-time the state of the driver.
      (+) Check the error code set during last operation.
      (+) Abort any operation.



Function Documentation

HAL_StatusTypeDef HAL_QSPI_Abort ( QSPI_HandleTypeDef hqspi)
HAL_StatusTypeDef HAL_QSPI_Abort_IT ( QSPI_HandleTypeDef hqspi)
uint32_t HAL_QSPI_GetError ( QSPI_HandleTypeDef hqspi)

Return the QSPI error code.

Parameters:
hqspi: QSPI handle
Return values:
QSPIError Code

Definition at line 2291 of file stm32l4xx_hal_qspi.c.

References __QSPI_HandleTypeDef::ErrorCode.

Get QSPI Fifo threshold.

Parameters:
hqspi: QSPI handle.
Return values:
Fifothreshold (value between 1 and 16)

Definition at line 2455 of file stm32l4xx_hal_qspi.c.

References __QSPI_HandleTypeDef::Instance.

Return the QSPI handle state.

Parameters:
hqspi: QSPI handle
Return values:
HALstate

Definition at line 2280 of file stm32l4xx_hal_qspi.c.

References __QSPI_HandleTypeDef::State.

HAL_StatusTypeDef HAL_QSPI_SetFifoThreshold ( QSPI_HandleTypeDef hqspi,
uint32_t  Threshold 
)

Set QSPI Fifo threshold.

Parameters:
hqspi: QSPI handle.
Threshold: Threshold of the Fifo (value between 1 and 16).
Return values:
HALstatus

Definition at line 2423 of file stm32l4xx_hal_qspi.c.

References QSPI_InitTypeDef::FifoThreshold, HAL_QSPI_STATE_READY, __QSPI_HandleTypeDef::Init, __QSPI_HandleTypeDef::Instance, and __QSPI_HandleTypeDef::State.

void HAL_QSPI_SetTimeout ( QSPI_HandleTypeDef hqspi,
uint32_t  Timeout 
)

Set QSPI timeout.

Parameters:
hqspi: QSPI handle.
Timeout: Timeout for the QSPI memory access.
Return values:
None

Definition at line 2413 of file stm32l4xx_hal_qspi.c.

References __QSPI_HandleTypeDef::Timeout.

Referenced by HAL_QSPI_Init().