1.1.13.2.4 Library Interface

SST26 driver library provides the following interfaces:

Functions

NameDescription
DRV_SST26_InitializeInitializes the SST26 Driver
DRV_SST26_OpenOpens the specified SST26 driver instance and returns a handle to it
DRV_SST26_CloseCloses an opened-instance of the SST26 driver
DRV_SST26_StatusGets the current status of the SST26 driver module
DRV_SST26_UnlockFlashUnlocks the flash device for Erase and Program operations
DRV_SST26_ReadJedecIdReads JEDEC-ID of the flash device
DRV_SST26_SectorEraseErase the sector from the specified block start address
DRV_SST26_BulkEraseErase a block from the specified block start address
DRV_SST26_ChipEraseErase entire flash memory
DRV_SST26_ReadReads n bytes of data from the specified start address of flash memory
DRV_SST26_PageWriteWrites one page of data starting at the specified address
DRV_SST26_TransferStatusGetGets the current status of the transfer request
DRV_SST26_GeometryGetReturns the geometry of the device
DRV_SST26_EventHandlerSetAllows 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

NameTypeDescription
DRV_SST26_TRANSFER_STATUSEnumSST26 Driver Transfer Status
DRV_SST26_GEOMETRYStructSST26 Device Geometry data
DRV_SST26_EVENT_HANDLERTypedefPointer to a SST26 Driver Event handler function