DRV_ETHPHY_Close Function
C
void DRV_ETHPHY_Close(DRV_HANDLE handle);
Returns
None
Description
This function closes an opened instance of the Ethernet PHY 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_ETHPHY_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_ETHPHY_Initialize routine must have been called for the specified Ethernet PHY driver instance. DRV_ETHPHY_Open must have been called to obtain a valid opened device handle.