USBUS CDC ECM device interface context. More...
#include <ecm.h>
Data Fields | |
usbus_handler_t | handler_ctrl |
Control interface handler. | |
usbus_interface_t | iface_data |
Data interface. | |
usbus_interface_t | iface_ctrl |
Control interface. | |
usbus_interface_alt_t | iface_data_alt |
Data alternative (active) interface. | |
usbus_endpoint_t * | ep_in |
Data endpoint in. | |
usbus_endpoint_t * | ep_out |
Data endpoint out. | |
usbus_endpoint_t * | ep_ctrl |
Control endpoint. | |
usbus_descr_gen_t | ecm_descr |
ECM descriptor generator. | |
event_t | rx_flush |
Receive flush event. | |
event_t | tx_xmit |
Transmit ready event. | |
netdev_t | netdev |
Netdev context struct. | |
uint8_t | mac_netdev [ETHERNET_ADDR_LEN] |
this device's MAC address | |
char | mac_host [13] |
host side's MAC address as string | |
usbus_string_t | mac_str |
String context for the host side mac address. | |
usbus_t * | usbus |
Ptr to the USBUS context. | |
mutex_t | out_lock |
mutex used for locking netif/USBUS send | |
size_t | tx_len |
Length of the current tx frame. | |
usbus_cdcecm_notif_t | notif |
Startup message notification tracker. | |
unsigned | active_iface |
Current active data interface. | |
usbdev_ep_buf_t | data_out [USBUS_ETHERNET_FRAME_BUF] |
Buffer for received frames from the host. | |
usbdev_ep_buf_t | data_in [USBUS_CDCECM_EP_DATA_SIZE] |
Host in device out data buffer. | |
usbdev_ep_buf_t | control_in [USBUS_CDCECM_EP_CTRL_SIZE] |
Host out device in control buffer. | |
usbus_urb_t | out_urb |
Host out device in reception URB. | |
unsigned usbus_cdcecm_device::active_iface |
usbdev_ep_buf_t usbus_cdcecm_device::control_in[USBUS_CDCECM_EP_CTRL_SIZE] |
usbdev_ep_buf_t usbus_cdcecm_device::data_in[USBUS_CDCECM_EP_DATA_SIZE] |
usbdev_ep_buf_t usbus_cdcecm_device::data_out[USBUS_ETHERNET_FRAME_BUF] |
usbus_descr_gen_t usbus_cdcecm_device::ecm_descr |
usbus_endpoint_t* usbus_cdcecm_device::ep_ctrl |
usbus_endpoint_t* usbus_cdcecm_device::ep_in |
usbus_endpoint_t* usbus_cdcecm_device::ep_out |
usbus_handler_t usbus_cdcecm_device::handler_ctrl |
usbus_interface_t usbus_cdcecm_device::iface_ctrl |
usbus_interface_t usbus_cdcecm_device::iface_data |
usbus_interface_alt_t usbus_cdcecm_device::iface_data_alt |
char usbus_cdcecm_device::mac_host[13] |
uint8_t usbus_cdcecm_device::mac_netdev[ETHERNET_ADDR_LEN] |
usbus_string_t usbus_cdcecm_device::mac_str |
usbus_cdcecm_notif_t usbus_cdcecm_device::notif |
mutex_t usbus_cdcecm_device::out_lock |
usbus_urb_t usbus_cdcecm_device::out_urb |
size_t usbus_cdcecm_device::tx_len |