STM32H743I_EVAL BSP User Manual: QSPI Private Functions

STM32H743I_EVAL BSP

STM32H743I_EVAL BSP User Manual
QSPI Private Functions

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_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.

Function Documentation

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,:timeout in ms
Return values:
None

Definition at line 824 of file stm32h743i_eval_qspi.c.

References QSPI_ERROR, and QSPI_OK.

Referenced by BSP_QSPI_Erase_Block(), BSP_QSPI_Erase_Chip(), BSP_QSPI_Write(), QSPI_EnterFourBytesAddress(), and QSPI_ResetMemory().

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 718 of file stm32h743i_eval_qspi.c.

References QSPI_ERROR, QSPI_OK, and QSPI_WriteEnable().

Referenced by BSP_QSPI_Init().

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 677 of file stm32h743i_eval_qspi.c.

References QSPI_AutoPollingMemReady(), QSPI_ERROR, QSPI_OK, and QSPI_WriteEnable().

Referenced by BSP_QSPI_Init().

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 635 of file stm32h743i_eval_qspi.c.

References QSPI_AutoPollingMemReady(), QSPI_ERROR, and QSPI_OK.

Referenced by BSP_QSPI_Init().

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 778 of file stm32h743i_eval_qspi.c.

References QSPI_ERROR, and QSPI_OK.

Referenced by BSP_QSPI_Erase_Block(), BSP_QSPI_Erase_Chip(), BSP_QSPI_Write(), QSPI_DummyCyclesCfg(), and QSPI_EnterFourBytesAddress().

Generated on Wed Aug 23 2017 17:45:14 for STM32H743I_EVAL BSP User Manual by   doxygen 1.7.6.1