Device descriptor for tinyUSB CDC ECM network devices. More...
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 | |
mutex_t tinyusb_netdev_t::lock |
device is already in use
Definition at line 84 of file tinyusb_netdev.h.
uint8_t tinyusb_netdev_t::mac_addr[ETHERNET_ADDR_LEN] |
device MAC address
Definition at line 75 of file tinyusb_netdev.h.
uint8_t tinyusb_netdev_t::mac_host[ETHERNET_ADDR_LEN] |
host MAC address
Definition at line 76 of file tinyusb_netdev.h.
netdev_t tinyusb_netdev_t::netdev |
netdev parent struct
Definition at line 74 of file tinyusb_netdev.h.
const uint8_t* tinyusb_netdev_t::rx_buf |
receive buffer in tinyUSB stack
Definition at line 81 of file tinyusb_netdev.h.
uint16_t tinyusb_netdev_t::rx_len |
number of bytes received
Definition at line 78 of file tinyusb_netdev.h.
uint8_t tinyusb_netdev_t::tx_buf[ETHERNET_MAX_LEN] |
transmit buffer
Definition at line 82 of file tinyusb_netdev.h.
uint16_t tinyusb_netdev_t::tx_len |
number of bytes in transmit buffer
Definition at line 79 of file tinyusb_netdev.h.