XCORE SDK
XCORE Software Development Kit
Public Attributes | List of all members
rtos_usb_ep_xfer_info_t Struct Reference

#include <rtos_usb.h>

Public Attributes

rtos_usb_tusb_ctx
 
size_t len
 
uint8_t ep_address
 
uint8_t dir
 
uint8_t ep_num
 
int8_t res
 

Detailed Description

Struct to hold USB transfer state data per endpoint, used as the argument to the ISR.

The members in this struct should not be accessed directly.

Member Data Documentation

◆ dir

uint8_t rtos_usb_ep_xfer_info_t::dir

The direction of the transfer. Either RTOS_USB_OUT_EP or RTOS_USB_IN_EP

◆ ep_address

uint8_t rtos_usb_ep_xfer_info_t::ep_address

The endpoint address for the transfer

◆ ep_num

uint8_t rtos_usb_ep_xfer_info_t::ep_num

The endpoint number (lower 4 bits of the endpoint address)

◆ len

size_t rtos_usb_ep_xfer_info_t::len

The requested transfer length - either the maximum length for OUT transfers, or the actual length for IN transfers

◆ res

int8_t rtos_usb_ep_xfer_info_t::res

The result of the transfer

◆ usb_ctx

rtos_usb_t* rtos_usb_ep_xfer_info_t::usb_ctx

A pointer to the associated RTOS USB driver instance.


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