All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

Driver for the ENCX24J600 Ethernet Adapter More...

Detailed Description

Driver for the ENCX24J600 Ethernet Adapter

Files

file  encx24j600_defines.h
 Register definitions for the ENCX24J600 Ethernet device.
 
file  encx24j600_internal.h
 Internal definitions for the ENCX24J600 Ethernet device.
 
file  encx24j600_params.h
 Default configuration for the ENCX24J600 Ethernet driver.
 
file  encx24j600.h
 Interface definition for the ENCX24J600 driver.
 

Data Structures

struct  encx24j600_t
 encx24j600 netdev device More...
 
struct  encx24j600_params_t
 Struct containing the needed peripheral configuration. More...
 

Functions

void encx24j600_setup (encx24j600_t *dev, const encx24j600_params_t *params, uint8_t index)
 Setup an encx24j600 based device state.
 

Function Documentation

◆ encx24j600_setup()

void encx24j600_setup ( encx24j600_t * dev,
const encx24j600_params_t * params,
uint8_t index )

Setup an encx24j600 based device state.

This function sets SPI pins, initializes the device state structure. It does not initialize the device itself.

Parameters
[out]devthe handle of the device to initialize
[in]paramsparameters for device initialization
[in]indexIndex of params in a global parameter struct array. If initialized manually, pass a unique identifier instead.