Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
UDC endpoint buffer info. More...
#include <udc.h>
Data Fields | |
uint8_t | ep |
Endpoint to which request is associated. | |
unsigned int | setup: 1 |
Flag marks setup transfer. | |
unsigned int | data: 1 |
Flag marks data stage of setup transfer. | |
unsigned int | status: 1 |
Flag marks status stage of setup transfer. | |
unsigned int | zlp: 1 |
Flag marks ZLP at the end of a transfer. | |
unsigned int | claimed: 1 |
Flag marks request buffer claimed by the controller (TBD) | |
unsigned int | queued: 1 |
Flag marks request buffer is queued (TBD) | |
void * | owner |
Transfer owner (usually pointer to a class instance) | |
int | err |
Transfer result, 0 on success, other values on error. | |
UDC endpoint buffer info.
This structure is mandatory for all UDC request. It contains the meta data about the request and is stored in user_data array of net_buf structure for each request.
unsigned int udc_buf_info::claimed |
Flag marks request buffer claimed by the controller (TBD)
unsigned int udc_buf_info::data |
Flag marks data stage of setup transfer.
uint8_t udc_buf_info::ep |
Endpoint to which request is associated.
int udc_buf_info::err |
Transfer result, 0 on success, other values on error.
void* udc_buf_info::owner |
Transfer owner (usually pointer to a class instance)
unsigned int udc_buf_info::queued |
Flag marks request buffer is queued (TBD)
unsigned int udc_buf_info::setup |
Flag marks setup transfer.
unsigned int udc_buf_info::status |
Flag marks status stage of setup transfer.
unsigned int udc_buf_info::zlp |
Flag marks ZLP at the end of a transfer.