DRV_MIIM_Close Function

C

void DRV_MIIM_Close(DRV_HANDLE handle); 

Returns

None

Description

This function closes an opened instance of the MIIM driver, invalidating the 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_MIIM_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.

Preconditions

The DRV_MIIM_Initialize routine must have been called for the specified MIIM driver instance. DRV_MIIM_Open must have been called to obtain a valid opened device handle.

Example

DRV_HANDLE handle; // Returned from DRV_MIIM_Open 
DRV_MIIM_Close(handle);