Loading...
Searching...
No Matches

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
 

Field Documentation

◆ lock

mutex_t tinyusb_netdev_t::lock

device is already in use

Definition at line 84 of file tinyusb_netdev.h.

◆ mac_addr

uint8_t tinyusb_netdev_t::mac_addr[ETHERNET_ADDR_LEN]

device MAC address

Definition at line 75 of file tinyusb_netdev.h.

◆ mac_host

uint8_t tinyusb_netdev_t::mac_host[ETHERNET_ADDR_LEN]

host MAC address

Definition at line 76 of file tinyusb_netdev.h.

◆ netdev

netdev_t tinyusb_netdev_t::netdev

netdev parent struct

Definition at line 74 of file tinyusb_netdev.h.

◆ rx_buf

const uint8_t* tinyusb_netdev_t::rx_buf

receive buffer in tinyUSB stack

Definition at line 81 of file tinyusb_netdev.h.

◆ rx_len

uint16_t tinyusb_netdev_t::rx_len

number of bytes received

Definition at line 78 of file tinyusb_netdev.h.

◆ tx_buf

uint8_t tinyusb_netdev_t::tx_buf[ETHERNET_MAX_LEN]

transmit buffer

Definition at line 82 of file tinyusb_netdev.h.

◆ tx_len

uint16_t tinyusb_netdev_t::tx_len

number of bytes in transmit buffer

Definition at line 79 of file tinyusb_netdev.h.


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