DRV_SST39_TransferStatusGet Function
C
DRV_SST39_TRANSFER_STATUS DRV_SST39_TransferStatusGet( const DRV_HANDLE handle );
Summary
Gets the current status of the transfer request.
Description
This routine gets the current status of the transfer request.
Preconditions
The DRV_SST39_Open() routine must have been called for the specified SST39 driver instance.
Parameters
Param | Description |
---|---|
handle | A valid open-instance handle, returned from the driver's open routine |
Returns
DRV_SST39_TRANSFER_ERROR_UNKNOWN - If the handle is invalid.
DRV_SST39_TRANSFER_BUSY - If the current transfer request is still being processed.
DRV_SST39_TRANSFER_COMPLETED - If the transfer request is completed.
Example
DRV_HANDLE handle; // Returned from DRV_SST39_Open if (DRV_SST39_TransferStatusGet(handle) == DRV_SST39_TRANSFER_COMPLETED) { // Operation Done }
Remarks
None.