Jump to main content

##

# 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

Parameters | Description
--- | ---
hMac | the successfully opened handle
macEvents | the mask to enable or disable
enable | to enable or disable events