Jump to main content

##

# DRV_GMAC_Open Function

## C

    DRV_HANDLE DRV_GMAC_Open(const SYS_MODULE_INDEX drvIndex, const DRV_IO_INTENT intent);

## Returns

- DRV_HANDLE - handle (pointer) to MAC client

- 0 if call failed

## Description

This function opens a client instance of the PIC32 MAC Driver. Used by tcpip_module_manager.

## Remarks

The intent parameter is not used in the current implementation and is maintained only for compatibility with the generic driver Open function signature.

## Preconditions

DRV_GMAC_Initialize() should have been called.