STM32F723E-Discovery BSP User Manual
|
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: | |
__weak void | BSP_QSPI_MspDeInit (QSPI_HandleTypeDef *hqspi, void *Params) |
QSPI MSP De-Initialization This function frees the hardware resources used in this example: |
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 586 of file stm32f723e_discovery_qspi.c.
References QSPI_CLK_DISABLE, QSPI_CLK_GPIO_PORT, QSPI_CLK_PIN, QSPI_CS_GPIO_PORT, QSPI_CS_PIN, QSPI_D0_GPIO_PORT, QSPI_D0_PIN, QSPI_D1_GPIO_PORT, QSPI_D1_PIN, QSPI_D2_GPIO_PORT, QSPI_D2_PIN, QSPI_D3_GPIO_PORT, QSPI_D3_PIN, QSPI_FORCE_RESET, and QSPI_RELEASE_RESET.
Referenced by BSP_QSPI_DeInit().
__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 525 of file stm32f723e_discovery_qspi.c.
References QSPI_CLK_ENABLE, QSPI_CLK_GPIO_CLK_ENABLE, QSPI_CLK_GPIO_PORT, QSPI_CLK_PIN, QSPI_CLK_PIN_AF, QSPI_CS_GPIO_CLK_ENABLE, QSPI_CS_GPIO_PORT, QSPI_CS_PIN, QSPI_CS_PIN_AF, QSPI_D0_GPIO_CLK_ENABLE, QSPI_D0_GPIO_PORT, QSPI_D0_PIN, QSPI_D0_PIN_AF, QSPI_D1_GPIO_CLK_ENABLE, QSPI_D1_GPIO_PORT, QSPI_D1_PIN, QSPI_D1_PIN_AF, QSPI_D2_GPIO_CLK_ENABLE, QSPI_D2_GPIO_PORT, QSPI_D2_PIN, QSPI_D2_PIN_AF, QSPI_D3_GPIO_CLK_ENABLE, QSPI_D3_GPIO_PORT, QSPI_D3_PIN, QSPI_D3_PIN_AF, QSPI_FORCE_RESET, and QSPI_RELEASE_RESET.
Referenced by BSP_QSPI_Init().
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 1130 of file stm32f723e_discovery_qspi.c.
References QSPI_ERROR, and QSPI_OK.
Referenced by BSP_QSPI_Erase_Block(), BSP_QSPI_Erase_Chip(), BSP_QSPI_Write(), and QSPI_EnterFourBytesAddress().
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 815 of file stm32f723e_discovery_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 774 of file stm32f723e_discovery_qspi.c.
References QSPI_AutoPollingMemReady(), QSPI_ERROR, QSPI_OK, and QSPI_WriteEnable().
Referenced by BSP_QSPI_Init().
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 912 of file stm32f723e_discovery_qspi.c.
References QSPI_ERROR, and QSPI_OK.
Referenced by BSP_QSPI_Init().
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 960 of file stm32f723e_discovery_qspi.c.
References QSPI_ERROR, and QSPI_OK.
Referenced by BSP_QSPI_DeInit().
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 990 of file stm32f723e_discovery_qspi.c.
References QSPI_ERROR, QSPI_OK, 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 614 of file stm32f723e_discovery_qspi.c.
References 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 1084 of file stm32f723e_discovery_qspi.c.
References QSPI_ERROR, and QSPI_OK.
Referenced by BSP_QSPI_Erase_Block(), BSP_QSPI_Erase_Chip(), BSP_QSPI_Write(), QSPI_DummyCyclesCfg(), QSPI_EnterFourBytesAddress(), and QSPI_OutDrvStrengthCfg().
Generated on Mon Jan 2 2017 09:52:50 for STM32F723E-Discovery BSP User Manual by 1.7.6.1