LAN8742_EnableIT() function
Enable IT source.
Arguments
pObj
Pointer to device object.
Interrupt
IT source to be enabled should be a value or a combination of the following: LAN8742_WOL_IT LAN8742_ENERGYON_IT LAN8742_AUTONEGO_COMPLETE_IT LAN8742_REMOTE_FAULT_IT LAN8742_LINK_DOWN_IT LAN8742_AUTONEGO_LP_ACK_IT LAN8742_PARALLEL_DETECTION_FAULT_IT LAN8742_AUTONEGO_PAGE_RECEIVED_IT
Return value
LAN8742_STATUS_OK if OK LAN8742_STATUS_READ_ERROR if cannot read register LAN8742_STATUS_WRITE_ERROR if cannot write to register