Implementation of the QSPI-Flash driver for the DISCO-STM32F746NG board. Allows usage of the MICRON 128Mb Quad-SPI Flash memory present on the board. Ported from library QSPI_DISCO_L476VG from ST.
Fork of QSPI_DISCO_F746NG by
Diff: QSPI_DISCO_F746NG.cpp
- Revision:
- 1:cff2435c21cf
- Parent:
- 0:f391cd8f34c1
--- a/QSPI_DISCO_F746NG.cpp Sun Nov 15 14:29:29 2015 +0000 +++ b/QSPI_DISCO_F746NG.cpp Tue Aug 01 17:33:38 2017 +0000 @@ -59,11 +59,6 @@ return BSP_QSPI_Erase_Block(BlockAddress); } -uint8_t QSPI_DISCO_F746NG::Erase_Sector(uint32_t Sector) -{ - return BSP_QSPI_Erase_Sector(Sector); -} - uint8_t QSPI_DISCO_F746NG::Erase_Chip(void) { return BSP_QSPI_Erase_Chip(); @@ -81,19 +76,5 @@ uint8_t QSPI_DISCO_F746NG::EnableMemoryMappedMode(void) { - return BSP_QSPI_EnableMemoryMappedMode(); -} - -uint8_t QSPI_DISCO_F746NG::SuspendErase(void) -{ - return BSP_QSPI_SuspendErase(); + return BSP_QSPI_MemoryMappedMode(); } - -uint8_t QSPI_DISCO_F746NG::ResumeErase(void) -{ - return BSP_QSPI_ResumeErase(); -} - -//================================================================================================================= -// Private methods -//=================================================================================================================