STM32L476G_EVAL BSP User Manual: Private Functions

STM32L476G_EVAL BSP

STM32L476G_EVAL BSP User Manual
Private Functions

Functions

static void QSPI_MspInit (void)
 Initializes the QSPI MSP.
static void QSPI_MspDeInit (void)
 De-Initializes the QSPI MSP.
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 for auto-polling
Return values:
None

Definition at line 751 of file stm32l476g_eval_qspi.c.

References QSPI_ERROR, QSPI_OK, and QSPIHandle.

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 646 of file stm32l476g_eval_qspi.c.

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

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 605 of file stm32l476g_eval_qspi.c.

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

Referenced by BSP_QSPI_Init().

static void QSPI_MspDeInit ( void  ) [static]

De-Initializes the QSPI MSP.

Return values:
None

Definition at line 542 of file stm32l476g_eval_qspi.c.

Referenced by BSP_QSPI_DeInit().

static void QSPI_MspInit ( void  ) [static]

Initializes the QSPI MSP.

Return values:
None

Definition at line 505 of file stm32l476g_eval_qspi.c.

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 563 of file stm32l476g_eval_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 705 of file stm32l476g_eval_qspi.c.

References QSPI_ERROR, QSPI_OK, and QSPIHandle.

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

Generated on Sun Jun 21 2015 23:46:42 for STM32L476G_EVAL BSP User Manual by   doxygen 1.7.6.1