Jump to main content

##

# DRV_ETHMAC_PIC32MACOpen Function

## C

    DRV_HANDLE DRV_ETHMAC_PIC32MACOpen(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_ETHMAC_PIC32MACInitialize() should have been called.