1.1.14.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 |
