DRV_SST38_Close Function
C
void DRV_SST38_Close( const DRV_HANDLE handle )
Summary
Closes an opened-instance of the SST38 driver.
Description
This routine closes an opened-instance of the SST38 driver, invalidating the handle.
Precondition
DRV_SST38_Open must have been called to obtain a valid opened device handle.
Parameters
Param | Description |
---|---|
handle | A valid open-instance handle, returned from the driver's open routine |
Returns
None
Example
DRV_HANDLE handle; // Returned from DRV_SST38_Open DRV_SST38_Close(handle);
Remarks
After calling this routine, the handle passed in "handle" must not be used with any of the remaining driver routines. A new handle must be obtained by calling DRV_SST38_Open before the caller may use the driver again.
Usually there is no need for the driver client to verify that the Close operation has completed.