To enable Link Events, use the (pseudo) module lpc1768_eth_link_up. This module will monitor the link state, and will emit events when the link goes up or down.
To enable Link Auto Negotiation, use the (pseudo) module lpc1768_eth_auto.
In general, it is highly recommended to use auto-negotiation, as this can avoid various communication issues on the PHY layer due to configuration mismatch of the link partners.
This feature depends on the link state events feature.
Files | |
| file | lpc1768_eth_netdev.h |
| Setup for netdev for the LPC1768 ethernet peripheral. | |
Functions | |
| void | lpc1768_eth_netdev_setup (netdev_t *netdev) |
| Bind the given netdev to the LPC1768 EMAC driver. | |
Variables | |
| const netdev_driver_t | lpc1768_eth_driver |
| The netdev driver for the LPC1768 EMAC. | |
| void lpc1768_eth_netdev_setup | ( | netdev_t * | netdev | ) |
Bind the given netdev to the LPC1768 EMAC driver.
Does not touch hardware. The netdev init callback performs the actual peripheral initialization.
| [in,out] | netdev | netdev to bind |