STM32 W25Qxx QuadSPI Driver  0.1a
https://github.com/Crazy-Geeks/STM32-W25Q-QSPI
Functions
Erase functions

Erase sector, blocks or whole chip. More...

Functions

W25Q_STATE W25Q_EraseSector (u32_t SectAddr)
 W25Q Sector erase (4KB) Minimal size operation to erase data. More...
 
W25Q_STATE W25Q_EraseBlock (u32_t BlockAddr, u8_t size)
 W25Q Block erase (32/64 KB) Func to erase big block. More...
 
W25Q_STATE W25Q_EraseChip (void)
 W25Q Chip erase Func to erase all the data on chip. More...
 

Detailed Description

Erase sector, blocks or whole chip.

Function Documentation

◆ W25Q_EraseBlock()

W25Q_STATE W25Q_EraseBlock ( u32_t  BlockAddr,
u8_t  size 
)

W25Q Block erase (32/64 KB) Func to erase big block.

Erase 32KB/64KB Sector.

Note
Should be executed before writing
Parameters
[in]BlockAddrBlock start address
[in]sizeSize of block: 32KB or 64KB
Returns
W25Q_STATE enum

◆ W25Q_EraseChip()

W25Q_STATE W25Q_EraseChip ( void  )

W25Q Chip erase Func to erase all the data on chip.

Erase all chip.

Note
Should be executed before writing
Parameters
none
Returns
W25Q_STATE enum

◆ W25Q_EraseSector()

W25Q_STATE W25Q_EraseSector ( u32_t  SectAddr)

W25Q Sector erase (4KB) Minimal size operation to erase data.

Erase 4KB Sector.

Note
Should be executed before writing
Parameters
[in]SectAddrSector start address
Returns
W25Q_STATE enum