1.1.13.1.4 Library Interface

MX25L driver library provides the following interfaces:

Functions

NameDescription
DRV_MX25L_InitializeInitializes the MX25L Driver
DRV_MX25L_OpenOpens the specified MX25L driver instance and returns a handle to it
DRV_MX25L_CloseCloses an opened-instance of the MX25L driver
DRV_MX25L_StatusGets the current status of the MX25L driver module
DRV_MX25L_ResetFlashReset the flash device to standby mode
DRV_MX25L_ReadJedecIdReads JEDEC-ID of the flash device
DRV_MX25L_SectorEraseErase the sector from the specified block start address
DRV_MX25L_BlockEraseErase a block from the specified block start address
DRV_MX25L_ChipEraseErase entire flash memory
DRV_MX25L_ReadReads n bytes of data from the specified start address of flash memory
DRV_MX25L_PageWriteWrites one page of data starting at the specified address
DRV_MX25L_TransferStatusGetGets the current status of the transfer request
DRV_MX25L_GeometryGetReturns the geometry of the device

Data types and constants

NameTypeDescription
DRV_MX25L_TRANSFER_STATUSEnumMX25L Driver Transfer Status
DRV_MX25L_GEOMETRYStructMX25L Device Geometry data