59#ifndef TINYUSB_NETDEV_H
60#define TINYUSB_NETDEV_H
Definitions low-level network driver interface.
Definitions for Ethernet.
#define ETHERNET_ADDR_LEN
Length of an Ethernet address.
#define ETHERNET_MAX_LEN
maximum number of bytes in an ethernet frame (with FCF)
Mutex for thread synchronization.
Structure to hold driver state.
Device descriptor for tinyUSB CDC ECM network devices.
uint16_t tx_len
number of bytes in transmit buffer
const uint8_t * rx_buf
receive buffer in tinyUSB stack
mutex_t lock
device is already in use
netdev_t netdev
netdev parent struct
uint16_t rx_len
number of bytes received