Device descriptor for tinyUSB CDC ECM network devices. More...

Detailed Description

Device descriptor for tinyUSB CDC ECM network devices.

Definition at line 73 of file tinyusb_netdev.h.

#include <tinyusb_netdev.h>

Data Fields

netdev_t netdev
 netdev parent struct
 
uint8_t mac_addr [ETHERNET_ADDR_LEN]
 device MAC address
 
uint8_t mac_host [ETHERNET_ADDR_LEN]
 host MAC address
 
uint16_t rx_len
 number of bytes received
 
uint16_t tx_len
 number of bytes in transmit buffer
 
const uint8_t * rx_buf
 receive buffer in tinyUSB stack
 
uint8_t tx_buf [ETHERNET_MAX_LEN]
 transmit buffer
 
mutex_t lock
 device is already in use
 

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