Jump to main content

##

# MAC_DRVR_Deinitialize Function

## C

    void MAC_DRVR_Deinitialize( SYS_MODULE_OBJ object );

## Returns

None

## Description

This function supports tear down of the Ethernet MAC. This is the opposite of set up and is 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

MAC_DRVR_Initialize() must have been called to set up the driver.

## Parameters

Parameters | Description
--- | ---
object | Driver object handle, returned from MAC_DRVR_Initialize