STM32L486xx HAL User Manual
Functions
Initialization/de-initialization functions
QSPI Exported Functions

Initialization and Configuration functions. More...

Functions

HAL_StatusTypeDef HAL_QSPI_Init (QSPI_HandleTypeDef *hqspi)
 Initialize the QSPI mode according to the specified parameters in the QSPI_InitTypeDef and initialize the associated handle.
HAL_StatusTypeDef HAL_QSPI_DeInit (QSPI_HandleTypeDef *hqspi)
 De-Initialize the QSPI peripheral.
__weak void HAL_QSPI_MspInit (QSPI_HandleTypeDef *hqspi)
 Initialize the QSPI MSP.
__weak void HAL_QSPI_MspDeInit (QSPI_HandleTypeDef *hqspi)
 DeInitialize the QSPI MSP.

Detailed Description

Initialization and Configuration functions.

===============================================================================
            ##### Initialization and Configuration functions #####
 ===============================================================================
    [..]
    This subsection provides a set of functions allowing to :
      (+) Initialize the QuadSPI.
      (+) De-initialize the QuadSPI.


Function Documentation

HAL_StatusTypeDef HAL_QSPI_DeInit ( QSPI_HandleTypeDef hqspi)

De-Initialize the QSPI peripheral.

Parameters:
hqspi: QSPI handle
Return values:
HALstatus

Definition at line 419 of file stm32l4xx_hal_qspi.c.

References __HAL_QSPI_DISABLE, __QSPI_HandleTypeDef::ErrorCode, HAL_QSPI_ERROR_NONE, HAL_QSPI_MspDeInit(), HAL_QSPI_STATE_RESET, __QSPI_HandleTypeDef::MspDeInitCallback, and __QSPI_HandleTypeDef::State.

HAL_StatusTypeDef HAL_QSPI_Init ( QSPI_HandleTypeDef hqspi)

Initialize the QSPI mode according to the specified parameters in the QSPI_InitTypeDef and initialize the associated handle.

Parameters:
hqspi: QSPI handle
Return values:
HALstatus

Definition at line 307 of file stm32l4xx_hal_qspi.c.

References __HAL_QSPI_ENABLE, __QSPI_HandleTypeDef::AbortCpltCallback, assert_param, QSPI_InitTypeDef::ChipSelectHighTime, QSPI_InitTypeDef::ClockMode, QSPI_InitTypeDef::ClockPrescaler, __QSPI_HandleTypeDef::CmdCpltCallback, __QSPI_HandleTypeDef::ErrorCallback, __QSPI_HandleTypeDef::ErrorCode, QSPI_InitTypeDef::FifoThreshold, __QSPI_HandleTypeDef::FifoThresholdCallback, QSPI_InitTypeDef::FlashSize, HAL_GetTick(), HAL_QPSI_TIMEOUT_DEFAULT_VALUE, HAL_QSPI_AbortCpltCallback(), HAL_QSPI_CmdCpltCallback(), HAL_QSPI_ERROR_NONE, HAL_QSPI_ErrorCallback(), HAL_QSPI_FifoThresholdCallback(), HAL_QSPI_MspInit(), HAL_QSPI_RxCpltCallback(), HAL_QSPI_RxHalfCpltCallback(), HAL_QSPI_SetTimeout(), HAL_QSPI_STATE_READY, HAL_QSPI_STATE_RESET, HAL_QSPI_StatusMatchCallback(), HAL_QSPI_TimeOutCallback(), HAL_QSPI_TxCpltCallback(), HAL_QSPI_TxHalfCpltCallback(), __QSPI_HandleTypeDef::Init, __QSPI_HandleTypeDef::Instance, IS_QSPI_CLOCK_MODE, IS_QSPI_CLOCK_PRESCALER, IS_QSPI_CS_HIGH_TIME, IS_QSPI_FIFO_THRESHOLD, IS_QSPI_FLASH_SIZE, IS_QSPI_SSHIFT, __QSPI_HandleTypeDef::Lock, __QSPI_HandleTypeDef::MspInitCallback, QSPI_FLAG_BUSY, QSPI_WaitFlagStateUntilTimeout(), __QSPI_HandleTypeDef::RxCpltCallback, __QSPI_HandleTypeDef::RxHalfCpltCallback, QSPI_InitTypeDef::SampleShifting, __QSPI_HandleTypeDef::State, __QSPI_HandleTypeDef::StatusMatchCallback, __QSPI_HandleTypeDef::Timeout, __QSPI_HandleTypeDef::TimeOutCallback, __QSPI_HandleTypeDef::TxCpltCallback, and __QSPI_HandleTypeDef::TxHalfCpltCallback.

DeInitialize the QSPI MSP.

Parameters:
hqspi: QSPI handle
Return values:
None

Definition at line 478 of file stm32l4xx_hal_qspi.c.

Referenced by HAL_QSPI_DeInit(), and HAL_QSPI_UnRegisterCallback().

Initialize the QSPI MSP.

Parameters:
hqspi: QSPI handle
Return values:
None

Definition at line 463 of file stm32l4xx_hal_qspi.c.

Referenced by HAL_QSPI_Init(), and HAL_QSPI_UnRegisterCallback().