Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

Embed: (wiki syntax)

« Back to documentation index

QSPI Exported Functions

QSPI Exported Functions
[QSPI]

Modules

 Initialization/de-initialization functions
 

Initialization and Configuration functions.


 Input and Output operation functions
 

QSPI Transmit/Receive functions.


 Peripheral Control and State functions
 

QSPI control and State functions.


Functions

static void QSPI_DMARxCplt (DMA_HandleTypeDef *hdma)
 DMA QSPI receive process complete callback.
static void QSPI_DMATxCplt (DMA_HandleTypeDef *hdma)
 DMA QSPI transmit process complete callback.
static void QSPI_DMARxHalfCplt (DMA_HandleTypeDef *hdma)
 DMA QSPI receive process half complete callback.
static void QSPI_DMATxHalfCplt (DMA_HandleTypeDef *hdma)
 DMA QSPI transmit process half complete callback.
static void QSPI_DMAError (DMA_HandleTypeDef *hdma)
 DMA QSPI communication error callback.
static HAL_StatusTypeDef QSPI_WaitFlagStateUntilTimeout (QSPI_HandleTypeDef *hqspi, uint32_t Flag, FlagStatus State, uint32_t Timeout)
 Wait for a flag state until timeout.
static void QSPI_Config (QSPI_HandleTypeDef *hqspi, QSPI_CommandTypeDef *cmd, uint32_t FunctionalMode)
 Configure the communication registers.

Function Documentation

static void QSPI_Config ( QSPI_HandleTypeDef *  hqspi,
QSPI_CommandTypeDef *  cmd,
uint32_t  FunctionalMode 
) [static]

Configure the communication registers.

Parameters:
hqspi,:QSPI handle
cmd,:structure that contains the command configuration information
FunctionalMode,:functional mode to configured This parameter can be one of the following values:

  • QSPI_FUNCTIONAL_MODE_INDIRECT_WRITE: Indirect write mode
  • QSPI_FUNCTIONAL_MODE_INDIRECT_READ: Indirect read mode
  • QSPI_FUNCTIONAL_MODE_AUTO_POLLING: Automatic polling mode
  • QSPI_FUNCTIONAL_MODE_MEMORY_MAPPED: Memory-mapped mode
Return values:
None

Definition at line 1793 of file stm32l4xx_hal_qspi.c.

static void QSPI_DMAError ( DMA_HandleTypeDef *  hdma ) [static]

DMA QSPI communication error callback.

Parameters:
hdma,:DMA handle
Return values:
None

Definition at line 1738 of file stm32l4xx_hal_qspi.c.

static void QSPI_DMARxCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA QSPI receive process complete callback.

Parameters:
hdma,:DMA handle
Return values:
None

Definition at line 1640 of file stm32l4xx_hal_qspi.c.

static void QSPI_DMARxHalfCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA QSPI receive process half complete callback.

Parameters:
hdma: DMA handle
Return values:
None

Definition at line 1714 of file stm32l4xx_hal_qspi.c.

static void QSPI_DMATxCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA QSPI transmit process complete callback.

Parameters:
hdma,:DMA handle
Return values:
None

Definition at line 1677 of file stm32l4xx_hal_qspi.c.

static void QSPI_DMATxHalfCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA QSPI transmit process half complete callback.

Parameters:
hdma: DMA handle
Return values:
None

Definition at line 1726 of file stm32l4xx_hal_qspi.c.

static HAL_StatusTypeDef QSPI_WaitFlagStateUntilTimeout ( QSPI_HandleTypeDef *  hqspi,
uint32_t  Flag,
FlagStatus  State,
uint32_t  Timeout 
) [static]

Wait for a flag state until timeout.

Parameters:
hqspi,:QSPI handle
Flag,:Flag checked
State,:Value of the flag expected
Timeout,:Duration of the timeout
Return values:
HALstatus

Definition at line 1758 of file stm32l4xx_hal_qspi.c.