Jump to main content

##

# DRV_ETHMAC_PIC32MACPowerMode Function

## C

    bool DRV_ETHMAC_PIC32MACPowerMode(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_ETHMAC_PIC32MACInitialize must have been called to set up the driver. DRV_ETHMAC_PIC32MACOpen() should have been called to obtain a valid handle.

## Example Function

    bool DRV_ETHMAC_PIC32MACPowerMode( DRV_HANDLE hMac, TCPIP_MAC_POWER_MODE pwrMode )