1.1.13.2.4 Library Interface
SST26 driver library provides the following interfaces:
Functions
Name | Description |
---|---|
DRV_SST26_Initialize | Initializes the SST26 Driver |
DRV_SST26_Open | Opens the specified SST26 driver instance and returns a handle to it |
DRV_SST26_Close | Closes an opened-instance of the SST26 driver |
DRV_SST26_Status | Gets the current status of the SST26 driver module |
DRV_SST26_UnlockFlash | Unlocks the flash device for Erase and Program operations |
DRV_SST26_ReadJedecId | Reads JEDEC-ID of the flash device |
DRV_SST26_SectorErase | Erase the sector from the specified block start address |
DRV_SST26_BulkErase | Erase a block from the specified block start address |
DRV_SST26_ChipErase | Erase entire flash memory |
DRV_SST26_Read | Reads n bytes of data from the specified start address of flash memory |
DRV_SST26_PageWrite | Writes one page of data starting at the specified address |
DRV_SST26_TransferStatusGet | Gets the current status of the transfer request |
DRV_SST26_GeometryGet | Returns the geometry of the device |
DRV_SST26_EventHandlerSet | Allows a client to identify a transfer event handling function for the driver to call back when the requested transfer has finished |
Data types and constants
Name | Type | Description |
---|---|---|
DRV_SST26_TRANSFER_STATUS | Enum | SST26 Driver Transfer Status |
DRV_SST26_GEOMETRY | Struct | SST26 Device Geometry data |
DRV_SST26_EVENT_HANDLER | Typedef | Pointer to a SST26 Driver Event handler function |