| 
    Zephyr Project API
    3.4.0
    
   A Scalable Open Source RTOS 
   | 
 
#include <udc.h>
Data Fields | |
| uint8_t | ep | 
| unsigned int | setup: 1 | 
| unsigned int | data: 1 | 
| unsigned int | status: 1 | 
| unsigned int | zlp: 1 | 
| unsigned int | claimed: 1 | 
| unsigned int | queued: 1 | 
| void * | owner | 
| int | err | 
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