Driver for the ENC28J60 Ethernet Adapter. More...

Detailed Description

Driver for the ENC28J60 Ethernet Adapter.

Files

file  enc28j60_params.h
 Default configuration for the ENC28J60 driver.
 
file  enc28j60_regs.h
 Register definitions for the ENC28J60 Ethernet device.
 
file  enc28j60.h
 Interface definition for the ENC28J60 driver.
 

Data Structures

struct  enc28j60_params_t
 Struct containing the needed peripheral configuration. More...
 
struct  enc28j60_t
 ENC28J60 device descriptor. More...
 

Functions

void enc28j60_setup (enc28j60_t *dev, const enc28j60_params_t *params, uint8_t index)
 Ready the device for initialization through it's netdev interface. More...
 

Function Documentation

◆ enc28j60_setup()

void enc28j60_setup ( enc28j60_t dev,
const enc28j60_params_t params,
uint8_t  index 
)

Ready the device for initialization through it's netdev interface.

Parameters
[in]devdevice descriptor
[in]paramsperipheral configuration to use
[in]indexIndex of params in a global parameter struct array. If initialized manually, pass a unique identifier instead.