1.1.5.2.4 Library Interface
SST39 driver library provides the following interfaces:
Functions
Name | Description |
---|---|
DRV_SST39_Initialize | Initializes the SST39 Driver |
DRV_SST39_Open | Opens the specified SST39 driver instance and returns a handle to it |
DRV_SST39_Close | Closes an opened-instance of the SST39 driver |
DRV_SST39_Status | Gets the current status of the SST39 driver module |
DRV_SST39_ReadProductId | Reads Manufacturer and Device ID of the SST39 device |
DRV_SST39_SectorErase | Erase the sector from the specified block start address |
DRV_SST39_ChipErase | Erase entire flash memory |
DRV_SST39_Read | Reads n bytes of data from the specified start address of flash memory |
DRV_SST39_PageWrite | Writes one page of data starting at the specified address |
DRV_SST39_GeometryGet | Returns the geometry of the device |
DRV_SST39_TransferStatusGet | Gets the current status of the transfer request |
Data types and constants
Name | Type | Description |
---|---|---|
DRV_SST39_TRANSFER_STATUS | Enum | SST39 Driver Transfer Status |
DRV_SST39_GEOMETRY | Struct | Defines the data type for SST39 PROM Geometry details |