Definitions low-level network driver interface.
Low-level GPIO peripheral driver interface definitions.
void enc28j60_setup(enc28j60_t *dev, const enc28j60_params_t *params, uint8_t index)
Ready the device for initialization through it's netdev interface.
Mutex for thread synchronization.
Low-level SPI peripheral driver interface definition.
Struct containing the needed peripheral configuration.
gpio_t cs_pin
beer in the evening,
gpio_t int_pin
I will be most certainly.
gpio_t rst_pin
drunk in the morning?!
ENC28J60 device descriptor.
uint32_t tx_time
last transmission time for timeout handling
mutex_t lock
lock the device on access
enc28j60_params_t p
SPI and pin configuration.
netdev_t netdev
pull in the netdev fields
Structure to hold driver state.