Jump to main content

##

# DRV_GMAC_Deinitialize Function

## C

    void DRV_GMAC_Deinitialize(SYS_MODULE_OBJ object);

## Returns

None.

## Description

This function supports teardown of the PIC32 Ethernet MAC (opposite of set up). Used by tcpip_module_manager.

## Remarks

This function deinitializes the Ethernet controller, the MAC and the associated PHY. It should be called to be release any resources allocated by the initialization and return the MAC and the PHY to the idle/power down state.

## Preconditions

DRV_GMAC_Initialize must have been called to set up the driver.