| 
    Zephyr Project API
    3.3.0
    
   A Scalable Open Source RTOS 
   | 
 
#include <uhc.h>
Data Fields | |
| sys_dnode_t | node | 
| struct k_fifo | queue | 
| struct k_fifo | done | 
| uint8_t | addr | 
| uint8_t | ep | 
| uint8_t | attrib | 
| uint16_t | mps | 
| uint16_t | timeout | 
| unsigned int | claimed: 1 | 
| unsigned int | queued: 1 | 
| unsigned int | setup: 1 | 
| void * | owner | 
UHC endpoint buffer info
This structure is mandatory for all UHC request. It contains the meta data about the request and FIFOs to store net_buf structures for each request.
The members of this structure should not be used directly by a higher layer (host stack).
| uint8_t uhc_transfer::addr | 
Device (peripheral) address
| uint8_t uhc_transfer::attrib | 
Endpoint attributes (TBD)
| unsigned int uhc_transfer::claimed | 
Flag marks request buffer claimed by the controller
| struct k_fifo uhc_transfer::done | 
FIFO to keep completed requests
| uint8_t uhc_transfer::ep | 
Endpoint to which request is associated
| uint16_t uhc_transfer::mps | 
Maximum packet size
| sys_dnode_t uhc_transfer::node | 
dlist node
| void* uhc_transfer::owner | 
Transfer owner
| struct k_fifo uhc_transfer::queue | 
FIFO requests to process
| unsigned int uhc_transfer::queued | 
Flag marks request buffer is queued
| unsigned int uhc_transfer::setup | 
Flag marks setup stage of transfer
| uint16_t uhc_transfer::timeout | 
Timeout in number of frames