B-L475E-IOT01 BSP User Manual
|
This file includes a standard driver for the MX25R6435F QSPI memory mounted on STM32L475E IOT01 board. More...
#include "stm32l475e_iot01_qspi.h"
Go to the source code of this file.
Defines | |
#define | QSPI_QUAD_DISABLE 0x0 |
#define | QSPI_QUAD_ENABLE 0x1 |
#define | QSPI_HIGH_PERF_DISABLE 0x0 |
#define | QSPI_HIGH_PERF_ENABLE 0x1 |
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. | |
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_Sector (uint32_t Sector) |
Erases the specified sector 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. | |
uint8_t | BSP_QSPI_SuspendErase (void) |
This function suspends an ongoing erase command. | |
uint8_t | BSP_QSPI_ResumeErase (void) |
This function resumes a paused erase command. | |
uint8_t | BSP_QSPI_EnterDeepPowerDown (void) |
This function enter the QSPI memory in deep power down mode. | |
uint8_t | BSP_QSPI_LeaveDeepPowerDown (void) |
This function leave the QSPI memory from deep power down mode. | |
__weak void | BSP_QSPI_MspInit (void) |
Initializes the QSPI MSP. | |
__weak void | BSP_QSPI_MspDeInit (void) |
De-Initializes the QSPI MSP. | |
Variables | |
QSPI_HandleTypeDef | QSPIHandle |
Detailed Description
This file includes a standard driver for the MX25R6435F QSPI memory mounted on STM32L475E IOT01 board.
- Attention:
© COPYRIGHT(c) 2017 STMicroelectronics
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file stm32l475e_iot01_qspi.c.
Generated on Thu Mar 16 2017 10:38:33 for B-L475E-IOT01 BSP User Manual by
