Modules | |
Device eth0 | |
Data Structures | |
struct | nic_pkt_header |
Functions | |
NicRx (void *arg) | |
NIC receiver thread. More... | |
int | NicOutput (NUTDEVICE *dev, NETBUF *nb, u_char flags) |
Send Ethernet packet. More... | |
NicTx (void *arg) | |
NIC transmitter thread. More... | |
int | NicInit (NUTDEVICE *dev) |
Initialize Ethernet hardware. More... |
|
Initialize Ethernet hardware.
Resets RTL8019AS Ethernet controller, initializes all required hardware registers and starts two additional threads, one for incoming and another for outgoing Ethernet traffic. This function takes more than 2 seconds to execute and should be called only once during system initialization. Applications typically do not use this function, but call NutNetIfConfig().
|
|
Send Ethernet packet.
|
|
NIC receiver thread. It runs with high priority. |
|
NIC transmitter thread. This thread asynchronously transmits packets in the drivers netbuf queue. |