Jump to main content

##

# 1.1.13.1.4 Library Interface

MX25L driver library provides the following interfaces:

Functions

Name | Description
--- | ---
DRV_MX25L_Initialize | Initializes the MX25L Driver
DRV_MX25L_Open | Opens the specified MX25L driver instance and returns a handle to it
DRV_MX25L_Close | Closes an opened-instance of the MX25L driver
DRV_MX25L_Status | Gets the current status of the MX25L driver module
DRV_MX25L_ResetFlash | Reset the flash device to standby mode
DRV_MX25L_ReadJedecId | Reads JEDEC-ID of the flash device
DRV_MX25L_SectorErase | Erase the sector from the specified block start address
DRV_MX25L_BlockErase | Erase a block from the specified block start address
DRV_MX25L_ChipErase | Erase entire flash memory
DRV_MX25L_Read | Reads n bytes of data from the specified start address of flash memory
DRV_MX25L_PageWrite | Writes one page of data starting at the specified address
DRV_MX25L_TransferStatusGet | Gets the current status of the transfer request
DRV_MX25L_GeometryGet | Returns the geometry of the device

Data types and constants

Name | Type | Description
--- | --- | ---
DRV_MX25L_TRANSFER_STATUS | Enum | MX25L Driver Transfer Status
DRV_MX25L_GEOMETRY | Struct | MX25L Device Geometry data