Jump to main content

##

# 1.2.5.2.46 TCPIP_MAC_Reinitialize Function

## C

    void TCPIP_MAC_Reinitialize(
        SYS_MODULE_OBJ object,
        const SYS_MODULE_INIT * const init
    );

## Description

MAC Re-Initialize function. void TCPIP_MAC_Reinitialize(SYS_MODULE_OBJ object, const SYS_MODULE_INIT * const init);

This is the function that re-initializes the MAC. It is called by the stack as a result of the system changing power modes. Allows reinitialization of the MAC with different power modes, etc.

## Precondtions

The TCPIP_MAC_Initialize() function should have been called.

## Parameters

Parameters | Description
--- | ---
object | Driver object handle, returned from TCPIP_MAC_Initialize().
init | pointer to TCPIP_MAC_INIT initialization data containing: - macControl - Stack prepared data. - moduleData - Driver specific. Dependent on the MAC type. For PIC32 MAC driver, the TCPIP_MODULE_MAC_PIC32INT_CONFIG is used.

## Returns

None.

## Remarks

This function is optional and is not currently implemented.