B-L475E-IOT01 BSP User Manual: QSPI Private Functions

B-L475E-IOT01 BSP Driver

B-L475E-IOT01 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_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.
static uint8_t QSPI_QuadMode (QSPI_HandleTypeDef *hqspi, uint8_t Operation)
 This function enables/disables the Quad mode of the memory.
static uint8_t QSPI_HighPerfMode (QSPI_HandleTypeDef *hqspi, uint8_t Operation)
 This function enables/disables the high performance mode of the memory.

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 for auto-polling
Return values:
None

Definition at line 884 of file stm32l475e_iot01_qspi.c.

References QSPI_ERROR, QSPI_OK, and QSPIHandle.

Referenced by BSP_QSPI_Erase_Block(), BSP_QSPI_Erase_Chip(), BSP_QSPI_Write(), QSPI_HighPerfMode(), QSPI_QuadMode(), and QSPI_ResetMemory().

static uint8_t QSPI_HighPerfMode ( QSPI_HandleTypeDef *  hqspi,
uint8_t  Operation 
) [static]

This function enables/disables the high performance mode of the memory.

Parameters:
hqspi: QSPI handle
Operation: QSPI_HIGH_PERF_ENABLE or QSPI_HIGH_PERF_DISABLE high performance mode
Return values:
None

Definition at line 1010 of file stm32l475e_iot01_qspi.c.

References QSPI_AutoPollingMemReady(), QSPI_ERROR, QSPI_HIGH_PERF_DISABLE, QSPI_HIGH_PERF_ENABLE, QSPI_OK, QSPI_WriteEnable(), and QSPIHandle.

Referenced by BSP_QSPI_Init().

static uint8_t QSPI_QuadMode ( QSPI_HandleTypeDef *  hqspi,
uint8_t  Operation 
) [static]

This function enables/disables the Quad mode of the memory.

Parameters:
hqspi: QSPI handle
Operation: QSPI_QUAD_ENABLE or QSPI_QUAD_DISABLE mode
Return values:
None

Definition at line 921 of file stm32l475e_iot01_qspi.c.

References QSPI_AutoPollingMemReady(), QSPI_ERROR, QSPI_OK, QSPI_QUAD_DISABLE, QSPI_QUAD_ENABLE, QSPI_WriteEnable(), and QSPIHandle.

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 796 of file stm32l475e_iot01_qspi.c.

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

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 838 of file stm32l475e_iot01_qspi.c.

References QSPI_ERROR, QSPI_OK, and QSPIHandle.

Referenced by BSP_QSPI_Erase_Block(), BSP_QSPI_Erase_Chip(), BSP_QSPI_Erase_Sector(), BSP_QSPI_Write(), QSPI_HighPerfMode(), and QSPI_QuadMode().

Generated on Thu Mar 16 2017 10:38:33 for B-L475E-IOT01 BSP User Manual by   doxygen 1.7.6.1