Jump to main content

##

# DRV_ETHPHY_ClientStatus Function

## C

    DRV_ETHPHY_CLIENT_STATUS DRV_ETHPHY_ClientStatus(DRV_HANDLE handle);

## Returns

- DRV_ETHPHY_CLIENT_STATUS value describing the current status of the driver.

## Description

This function gets the client-specific status of the Ethernet PHY driver associated with the given handle.

## Remarks

This function will not block for hardware access and will immediately return the current status. This function has to be used to check that a driver operation has completed. It will return DRV_ETHPHY_CLIENT_STATUS_BUSY when an operation is in progress. It will return DRV_ETHPHY_CLIENT_STATUS_READY when the operation has completed.

## Preconditions

- The DRV_ETHPHY_Initialize routine must have been called.
- DRV_ETHPHY_Open must have been called to obtain a valid opened device handle.

}