STM32746G-Discovery board drivers V1.0.0

Dependents:   F746_SD_GraphicEqualizer_ren0620

Fork of BSP_DISCO_F746NG by ST

Embed: (wiki syntax)

« Back to documentation index

STM32746G_DISCOVERY QSPI Private Functions

STM32746G_DISCOVERY QSPI Private Functions
[STM32746G-Discovery QSPI]

Functions

static uint8_t QSPI_ResetMemory (QSPI_HandleTypeDef *hqspi)
 This function reset the QSPI memory.
static uint8_t QSPI_DummyCyclesCfg (QSPI_HandleTypeDef *hqspi)
 This function configure the dummy cycles on memory side.
static uint8_t QSPI_WriteEnable (QSPI_HandleTypeDef *hqspi)
 This function send a Write Enable and wait it is effective.
static uint8_t QSPI_AutoPollingMemReady (QSPI_HandleTypeDef *hqspi, uint32_t Timeout)
 This function read the SR of the memory and wait the EOP.
__weak void BSP_QSPI_MspInit (QSPI_HandleTypeDef *hqspi, void *Params)
 QSPI MSP Initialization This function configures the hardware resources used in this example:

  • Peripheral's clock enable
  • Peripheral's GPIO Configuration
  • NVIC configuration for QSPI interrupt.

__weak void BSP_QSPI_MspDeInit (QSPI_HandleTypeDef *hqspi, void *Params)
 QSPI MSP De-Initialization This function frees the hardware resources used in this example:

  • Disable the Peripheral's clock
  • Revert GPIO and NVIC configuration to their default state.


Function Documentation

__weak void BSP_QSPI_MspDeInit ( QSPI_HandleTypeDef *  hqspi,
void *  Params 
)

QSPI MSP De-Initialization This function frees the hardware resources used in this example:

  • Disable the Peripheral's clock
  • Revert GPIO and NVIC configuration to their default state.

Return values:
None

Definition at line 570 of file stm32746g_discovery_qspi.c.

__weak void BSP_QSPI_MspInit ( QSPI_HandleTypeDef *  hqspi,
void *  Params 
)

QSPI MSP Initialization This function configures the hardware resources used in this example:

  • Peripheral's clock enable
  • Peripheral's GPIO Configuration
  • NVIC configuration for QSPI interrupt.

Return values:
None

Definition at line 504 of file stm32746g_discovery_qspi.c.

static uint8_t QSPI_AutoPollingMemReady ( QSPI_HandleTypeDef *  hqspi,
uint32_t  Timeout 
) [static]

This function read the SR of the memory and wait the EOP.

Parameters:
hqspi,:QSPI handle
Timeout
Return values:
None

Definition at line 745 of file stm32746g_discovery_qspi.c.

static uint8_t QSPI_DummyCyclesCfg ( QSPI_HandleTypeDef *  hqspi ) [static]

This function configure the dummy cycles on memory side.

Parameters:
hqspi,:QSPI handle
Return values:
None

Definition at line 640 of file stm32746g_discovery_qspi.c.

static uint8_t QSPI_ResetMemory ( QSPI_HandleTypeDef *  hqspi ) [static]

This function reset the QSPI memory.

Parameters:
hqspi,:QSPI handle
Return values:
None

Definition at line 598 of file stm32746g_discovery_qspi.c.

static uint8_t QSPI_WriteEnable ( QSPI_HandleTypeDef *  hqspi ) [static]

This function send a Write Enable and wait it is effective.

Parameters:
hqspi,:QSPI handle
Return values:
None

Definition at line 699 of file stm32746g_discovery_qspi.c.