XCORE SDK
XCORE Software Development Kit
|
#include <rtos_usb.h>
Public Attributes | |
rtos_usb_t * | usb_ctx |
size_t | len |
uint8_t | ep_address |
uint8_t | dir |
uint8_t | ep_num |
int8_t | res |
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.
uint8_t rtos_usb_ep_xfer_info_t::dir |
The direction of the transfer. Either RTOS_USB_OUT_EP or RTOS_USB_IN_EP
uint8_t rtos_usb_ep_xfer_info_t::ep_address |
The endpoint address for the transfer
uint8_t rtos_usb_ep_xfer_info_t::ep_num |
The endpoint number (lower 4 bits of the endpoint address)
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
int8_t rtos_usb_ep_xfer_info_t::res |
The result of the transfer
rtos_usb_t* rtos_usb_ep_xfer_info_t::usb_ctx |
A pointer to the associated RTOS USB driver instance.