Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Listing - Ethernet Device Configuration shows a sample Ethernet configuration structure for Ethernet devices.

Ethernet PHY Configuration

Listing - Ethernet PHY Configuration shows a typical Ethernet PHY configuration structure.

Wireless Device Configuration

The listing below shows a sample wireless configuration structure for wireless devices.

Loopback Configuration

Configuring the loopback interface requires only a memory configuration, as described in µC/TCP-IP Network Interface Configuration.

Listing 5-9 shows a sample configuration structure for the loopback interface.

Adding a Loopback Interface

Basically, to enable and add the loopback interface you only have to enable the loopback interface within the network configuration (net_cfg.h) as follow:

#define NET_IF_CFG_LOOPBACK_EN DEF_ENABLED