1.1.5.1.4 Library Interface
SST38 driver library provides the following interfaces:
Functions
Name | Description |
---|---|
DRV_SST38_Initialize | Initializes the SST38 Driver |
DRV_SST38_Open | Opens the specified SST38 driver instance and returns a handle to it |
DRV_SST38_Close | Closes an opened-instance of the SST38 driver |
DRV_SST38_Status | Gets the current status of the SST38 driver module |
DRV_SST38_ReadProductId | Reads Manufacturer and Device ID of the SST38 device |
DRV_SST38_SectorErase | Erase the sector from the specified block start address |
DRV_SST38_ChipErase | Erase entire flash memory |
DRV_SST38_Read | Reads n bytes of data from the specified start address of flash memory |
DRV_SST38_PageWrite | Writes one page of data starting at the specified address |
DRV_SST38_GeometryGet | Returns the geometry of the device |
DRV_SST38_TransferStatusGet | Gets the current status of the transfer request |
Data types and constants
Name | Type | Description |
---|---|---|
DRV_SST38_TRANSFER_STATUS | Enum | SST38 Driver Transfer Status |
DRV_SST38_GEOMETRY | Struct | Defines the data type for SST38 PROM Geometry details |