Jump to main content

##

# DRV_GMAC_PowerMode Function

## C

    bool DRV_GMAC_PowerMode(DRV_HANDLE hMac, TCPIP_MAC_POWER_MODE pwrMode);

## Returns

- true if the call succeeded.

- false if the call failed

## Description

This function sets the power mode for the Ethernet MAC.

## Remarks

This function is not currently supported by the Ethernet MAC and will always return true.

## Preconditions

DRV_GMAC_Initialize must have been called to set up the driver. DRV_GMAC_Open() should have been called to obtain a valid handle.