Jump to main content

##

# DRV_ETHPHY_Tasks Function

## C

    void DRV_ETHPHY_Tasks(SYS_MODULE_OBJ object);

## Returns

None

## Description

This function is used to maintain the driver's internal state machine and implement its ISR for interrupt-driven implementations.

## Remarks

- This function is normally not called directly by an application. It is called by the system's Tasks routine (SYS_Tasks)

- This function will never block or access any resources that may cause it to block.

## Preconditions

The DRV_ETHPHY_Initialize routine must have been called for the specified Ethernet PHY driver instance.

## Example

    SYS_MODULE_OBJ object;      // Returned from DRV_ETHPHY_Initialize
        while (true) { DRV_ETHPHY_Tasks (object);
             // Do other tasks
        }