Nut/OS  5.0.5
API Reference
stm32_emac.h File Reference
#include <sys/device.h>
#include <net/if_var.h>
Include dependency graph for stm32_emac.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DEV_ETHER   devStm32Emac
#define devEth0   devStm32Emac

Variables

NUTDEVICE devStm32Emac
 Device information structure.

Define Documentation

#define DEV_ETHER   devStm32Emac
#define devEth0   devStm32Emac

Variable Documentation

Device information structure.

A pointer to this structure must be passed to NutRegisterDevice() to bind this Ethernet device driver to the Nut/OS kernel. An application may then call NutNetIfConfig() with the name eth0 of this driver to initialize the network interface.