encx24j600.h¶
Interface definition for the ENCX24J600 driver.
-
void
encx24j600_setup(encx24j600_t * dev, const encx24j600_params_t * params)¶ Setup an encx24j600 based device state.
This function sets SPI pins, initializes the device state structure. It does not initialize the device itself.
Parameters
dev: the handle of the device to initialize params: parameters for device initialization
-
struct
encx24j600_t¶ encx24j600 netdev device
-
netdev.h::netdev_tnetdev¶ extended netdev structure
-
spi.h::spi_tspi¶ SPI device the enc is connected to.
-
gpio.h::gpio_tcs¶ SPI chip select pin.
-
gpio.h::gpio_tint_pin¶ SPI interrupt pin.
-
uint16_t
rx_next_ptr¶ ptr to next packet whithin devices memory
-
-
struct
encx24j600_params_t¶ Struct containing the needed peripheral configuration.
-
spi.h::spi_tspi¶ SPI line.
-
gpio.h::gpio_tcs_pin¶ chip select pin
-
gpio.h::gpio_tint_pin¶ interrupt pin
-