1.1.10.4.4 DRV_USART_Close Function
1.1.10.4.4 C
void DRV_USART_Close( DRV_Handle handle )1.1.10.4.4 Summary
Closes an opened-instance of the USART driver.
1.1.10.4.4 Description
This routine closes an opened-instance of the USART driver, invalidating the handle. Any buffers in the driver queue that were submitted by this client will be removed. A new handle must be obtained by calling DRV_USART_Open before the caller may use the driver again.
1.1.10.4.4 Precondition
DRV_USART_Open must have been called to obtain a valid opened device handle.
1.1.10.4.4 Parameters
| Parameters | Description |
|---|---|
| handle | A valid open-instance handle, returned from the driver's open routine |
1.1.10.4.4 Returns
None.
1.1.10.4.4 Example
// 'handle', returned from the DRV_USART_Open DRV_USART_Close(handle);
1.1.10.4.4 Remarks
None.
