TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

Fork of TUKS-COURSE-TIMER by TUKS MCU Introductory course

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 void QSPI_DMAAbortCplt (DMA_HandleTypeDef *hdma)
 DMA QSPI abort complete callback.
static HAL_StatusTypeDef QSPI_WaitFlagStateUntilTimeout (QSPI_HandleTypeDef *hqspi, uint32_t Flag, FlagStatus State, uint32_t Tickstart, 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 2190 of file stm32l4xx_hal_qspi.c.

static void QSPI_DMAAbortCplt ( DMA_HandleTypeDef *  hdma ) [static]

DMA QSPI abort complete callback.

Parameters:
hdma,:DMA handle
Return values:
None

Definition at line 2119 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 2099 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 2047 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 2075 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 2061 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 2087 of file stm32l4xx_hal_qspi.c.

static HAL_StatusTypeDef QSPI_WaitFlagStateUntilTimeout ( QSPI_HandleTypeDef *  hqspi,
uint32_t  Flag,
FlagStatus  State,
uint32_t  Tickstart,
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
TickstartTick start value
Return values:
HALstatus

Definition at line 2157 of file stm32l4xx_hal_qspi.c.