Loading...
Searching...
No Matches
esp_eth_netdev_t Struct Reference

Device descriptor for ESP-ETH devices. More...

Detailed Description

Device descriptor for ESP-ETH devices.

Definition at line 40 of file esp_eth_netdev.h.

#include <esp_eth_netdev.h>

Data Fields

netdev_t netdev
 netdev parent struct
 
void * eth_driver
 EMAC driver handle.
 
uint16_t rx_len
 number of bytes received
 
uint16_t tx_len
 number of bytes in transmit buffer
 
uint8_t rx_buf [ETHERNET_MAX_LEN]
 receive buffer
 
uint8_t tx_buf [ETHERNET_MAX_LEN]
 transmit buffer
 
uint32_t event
 received event
 
bool link_up
 indicates whether link is up
 
mutex_t dev_lock
 device is already in use
 

Field Documentation

◆ dev_lock

mutex_t esp_eth_netdev_t::dev_lock

device is already in use

Definition at line 54 of file esp_eth_netdev.h.

◆ eth_driver

void* esp_eth_netdev_t::eth_driver

EMAC driver handle.

Definition at line 43 of file esp_eth_netdev.h.

◆ event

uint32_t esp_eth_netdev_t::event

received event

Definition at line 51 of file esp_eth_netdev.h.

◆ link_up

bool esp_eth_netdev_t::link_up

indicates whether link is up

Definition at line 52 of file esp_eth_netdev.h.

◆ netdev

netdev_t esp_eth_netdev_t::netdev

netdev parent struct

Definition at line 41 of file esp_eth_netdev.h.

◆ rx_buf

uint8_t esp_eth_netdev_t::rx_buf[ETHERNET_MAX_LEN]

receive buffer

Definition at line 48 of file esp_eth_netdev.h.

◆ rx_len

uint16_t esp_eth_netdev_t::rx_len

number of bytes received

Definition at line 45 of file esp_eth_netdev.h.

◆ tx_buf

uint8_t esp_eth_netdev_t::tx_buf[ETHERNET_MAX_LEN]

transmit buffer

Definition at line 49 of file esp_eth_netdev.h.

◆ tx_len

uint16_t esp_eth_netdev_t::tx_len

number of bytes in transmit buffer

Definition at line 46 of file esp_eth_netdev.h.


The documentation for this struct was generated from the following file: