Jump to main content

# 1.1.1.4.13 DRV_PLC_PHY_Tasks Function

## C

    void DRV_PLC_PHY_Tasks (
        SYS_MODULE_OBJ object
    );

## Summary

Maintains the driver's state machine.

## Description

This function is used to maintain the driver's internal state machine.

## Precondition

DRV_PLC_PHY_Initialize must have been called to obtain a valid system object handle.

## Parameters

Param | Description
--- | ---
object | Object handle for the specified driver instance (returned from DRV_PLC_PHY_Initialize).

## Returns

None.

## Example

    SYS_MODULE_OBJ      object;     // Returned from DRV_PLC_PHY_Initialize

    while (true)
    {
        DRV_PLC_PHY_Tasks (object);

        // Do other tasks
    }

## 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.

Rev: G