Jump to main content

##

# 1.1.13.3.4 Library Interface

W25 driver library provides the following interfaces:

Functions

Name | Description
--- | ---
DRV_W25_Initialize | Initializes the W25 Driver
DRV_W25_Open | Opens the specified W25 driver instance and returns a handle to it
DRV_W25_Close | Closes an opened-instance of the W25 driver
DRV_W25_Status | Gets the current status of the W25 driver module
DRV_W25_UnlockFlash | Unlocks the flash device for Erase and Program operations
DRV_W25_ReadJedecId | Reads JEDEC-ID of the flash device
DRV_W25_SectorErase | Erase the sector from the specified block start address
DRV_W25_BlockErase | Erase a block from the specified block start address
DRV_W25_ChipErase | Erase entire flash memory
DRV_W25_Read | Reads n bytes of data from the specified start address of flash memory
DRV_W25_PageWrite | Writes one page of data starting at the specified address
DRV_W25_TransferStatusGet | Gets the current status of the transfer request
DRV_W25_GeometryGet | Returns the geometry of the device

Data types and constants

Name | Type | Description
--- | --- | ---
DRV_W25_TRANSFER_STATUS | Enum | W25 Driver Transfer Status
DRV_W25_GEOMETRY | Struct | W25 Device Geometry data