1.1.11.1.4 Library Interface
AT25 driver library provides the following interfaces:
Functions
Name | Description |
---|---|
DRV_AT25_Initialize | Initializes the AT25 EEPROM device |
DRV_AT25_Status | Gets the current status of the AT25 driver module |
DRV_AT25_Open | Opens the specified AT25 driver instance and returns a handle to it |
DRV_AT25_Close | Closes the opened-instance of the AT25 driver |
DRV_AT25_Read | Reads 'n' bytes of data from the specified start address of EEPROM |
DRV_AT25_Write | Writes 'n' bytes of data starting at the specified address |
DRV_AT25_PageWrite | Writes one page of data starting at the specified address |
DRV_AT25_TransferStatusGet | Gets the current status of the transfer request |
DRV_AT25_GeometryGet | Returns the geometry of the device |
DRV_AT25_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_AT25_TRANSFER_STATUS | Enum | Defines the data type for AT25 Driver transfer status |
DRV_AT25_GEOMETRY | Struct | Defines the data type for AT25 EEPROM Geometry details |
DRV_AT25_EVENT_HANDLER | Typedef | Pointer to a AT25 Driver Event handler function |