1.1.9.4.4 DRV_SPI_Close Function
1.1.9.4.4 C
void DRV_SPI_Close( DRV_Handle handle )1.1.9.4.4 Summary
Closes an opened-instance of the SPI driver.
1.1.9.4.4 Description
This routine closes an opened-instance of the SPI driver, invalidating the handle. User should make sure that there is no transfer request pending before calling this API. A new handle must be obtained by calling DRV_SPI_Open before the caller may use the driver again.
1.1.9.4.4 Precondition
DRV_SPI_Open must have been called to obtain a valid opened device handle.
1.1.9.4.4 Parameters
| Parameters | Description |
|---|---|
| handle | A valid open-instance handle, returned from the driver's open routine |
1.1.9.4.4 Returns
None.
1.1.9.4.4 Example
// 'handle', returned from the DRV_SPI_Open DRV_SPI_Close(handle);
1.1.9.4.4 Remarks
None.
