DRV_ENC28J60_EventMaskSet Function

C

bool DRV_ENC28J60_EventMaskSet(DRV_HANDLE hMac, TCPIP_MAC_EVENT macEvents, bool enable); 

Returns

  • true - if the mask could be set

  • false - if the mast could not be set

Description

ENC28J60 Set Event Mask Sets the event mask to what is passed in.

Preconditions

The client had to be successfully opened with DRV_ENC28J60_Open.

Parameters

ParametersDescription
hMacthe successfully opened handle
macEventsthe mask to enable or disable
enableto enable or disable events