Jump to main content

##

# DRV_ENC28J60_ParametersGet Function

## C

    TCPIP_MAC_RES DRV_ENC28J60_ParametersGet(DRV_HANDLE hMac, TCPIP_MAC_PARAMETERS* pMacParams);

## Returns

- TCPIP_MAC_RES_TYPE_ERR - if the hMac is invalid
- TCPIP_MAC_RES_OK - if the hMac is valid

## Description

ENC28J60 Get Parameters Get the parameters of the device, which includes that it is an Ethernet device and what it's MAC address is. Users of the ENC28J60 must generate a unique MAC address for each controller used. The client had to be successfully opened with DRV_ENC28J60_Open.

## Parameters

Parameters | Description
--- | ---
hMac | the successfully opened handle
pMacParams | pointer to put the parameters