BSP files for STM32H747I-Discovery Copy from ST Cube delivery
Dependents: DISCO_H747I_LCD_demo DISCO_H747I_AUDIO_demo
stm32h747i_discovery_qspi.c File Reference
This file includes a standard driver for the MT25TL01G QSPI memory mounted on STM32H747I-DISCOVERY board. More...
Go to the source code of this file.
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. | |
static uint8_t | QSPI_EnterQPI (QSPI_HandleTypeDef *hqspi) |
This function enter the QPSI memory in QPI mode. | |
uint8_t | BSP_QSPI_Init (void) |
Initializes the QSPI interface. | |
uint8_t | BSP_QSPI_DeInit (void) |
De-Initializes the QSPI interface. | |
uint8_t | BSP_QSPI_Read (uint8_t *pData, uint32_t ReadAddr, uint32_t Size) |
Reads an amount of data from the QSPI memory. | |
uint8_t | BSP_QSPI_Write (uint8_t *pData, uint32_t WriteAddr, uint32_t Size) |
Writes an amount of data to the QSPI memory. | |
uint8_t | BSP_QSPI_Erase_Block (uint32_t BlockAddress) |
Erases the specified block of the QSPI memory. | |
uint8_t | BSP_QSPI_Erase_Chip (void) |
Erases the entire QSPI memory. | |
uint8_t | BSP_QSPI_GetStatus (void) |
Reads current status of the QSPI memory. | |
uint8_t | BSP_QSPI_GetInfo (QSPI_Info *pInfo) |
Return the configuration of the QSPI memory. | |
uint8_t | BSP_QSPI_EnableMemoryMappedMode (void) |
Configure the QSPI in memory-mapped mode. | |
__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:
|
Detailed Description
This file includes a standard driver for the MT25TL01G QSPI memory mounted on STM32H747I-DISCOVERY board.
- Attention:
© Copyright (c) 2019 STMicroelectronics. All rights reserved.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file stm32h747i_discovery_qspi.c.
Generated on Tue Jul 12 2022 18:45:42 by 1.7.2