Synopsis
CTL_STATUS_t enc28j60_mac_setup(CTL_NET_INTERFACE_t *self,
                                CTL_SPI_DEVICE_t *dev);
Description

enc28j60_mac_setup initializes self with functions that implement the MAC interface for the ENC28J60. The ENC28J60 is addressed using the SPI device dev.

Return Value

enc28j60_mac_setup returns a standard status code.