STM32Cube BSP FW for STM32F769I-Discovery

Dependents:   mbed-os-example-blinky-5 DISCO-F769NI_TOUCHSCREEN_demo_custom_1 Datarecorder2 DISCO-F769NI_TOUCHSCREEN_demo ... more

Embed: (wiki syntax)

« Back to documentation index

STM32F769I_DISCOVERY QSPI Private Functions

STM32F769I_DISCOVERY QSPI Private Functions
[STM32F769I_DISCOVERY QSPI]

Functions

static uint8_t QSPI_ResetMemory (QSPI_HandleTypeDef *hqspi)
 This function reset the QSPI memory.
static uint8_t QSPI_EnterFourBytesAddress (QSPI_HandleTypeDef *hqspi)
 This function set the QSPI memory in 4-byte address mode.
static uint8_t QSPI_DummyCyclesCfg (QSPI_HandleTypeDef *hqspi)
 This function configure the dummy cycles on memory side.
static uint8_t QSPI_EnterMemory_QPI (QSPI_HandleTypeDef *hqspi)
 This function put QSPI memory in QPI mode (quad I/O).
static uint8_t QSPI_ExitMemory_QPI (QSPI_HandleTypeDef *hqspi)
 This function put QSPI memory in SPI mode.
static uint8_t QSPI_OutDrvStrengthCfg (QSPI_HandleTypeDef *hqspi)
 This function configure the Output driver strength 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 592 of file stm32f769i_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 531 of file stm32f769i_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 1136 of file stm32f769i_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 821 of file stm32f769i_discovery_qspi.c.

static uint8_t QSPI_EnterFourBytesAddress ( QSPI_HandleTypeDef *  hqspi ) [static]

This function set the QSPI memory in 4-byte address mode.

Parameters:
hqspi,:QSPI handle
Return values:
None

Definition at line 780 of file stm32f769i_discovery_qspi.c.

static uint8_t QSPI_EnterMemory_QPI ( QSPI_HandleTypeDef *  hqspi ) [static]

This function put QSPI memory in QPI mode (quad I/O).

Parameters:
hqspi,:QSPI handle
Return values:
None

Definition at line 918 of file stm32f769i_discovery_qspi.c.

static uint8_t QSPI_ExitMemory_QPI ( QSPI_HandleTypeDef *  hqspi ) [static]

This function put QSPI memory in SPI mode.

Parameters:
hqspi,:QSPI handle
Return values:
None

Definition at line 966 of file stm32f769i_discovery_qspi.c.

static uint8_t QSPI_OutDrvStrengthCfg ( QSPI_HandleTypeDef *  hqspi ) [static]

This function configure the Output driver strength on memory side.

Parameters:
hqspi,:QSPI handle
Return values:
None

Definition at line 996 of file stm32f769i_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 620 of file stm32f769i_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 1090 of file stm32f769i_discovery_qspi.c.