Jump to main content

##

# MAC_DRVR_PowerMode Function

## C

    bool MAC_DRVR_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

- MAC_DRVR_Initialize() must have been called to set up the driver.
- MAC_DRVR_Open() should have been called to obtain a valid handle.

## Parameters

Parameters | Description
--- | ---
hMac | Ethernet MAC client handle
pwrMode | Required power mode