1.6.3.2 DRV_G3ADP_MAC_Deinitialize Function

C

void DRV_G3ADP_MAC_Deinitialize(SYS_MODULE_OBJ object);

Summary

Deinitializes the G3 ADP Ethernet MAC.

Description

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

Precondition

DRV_G3ADP_MAC_Initialize() should have been called.

Parameters

ParamDescription
objectDriver object handle, returned from DRV_G3ADP_MAC_Initialize

Returns

None.

Example

    if(pNetIf->macObjHandle != 0)
    {
        DRV_G3ADP_MAC_Deinitialize(pNetIf->macObjHandle);
    }

Remarks

It should be called to release any resources allocated by the initialization and disables callback functions with the G3 ADP layer.