Zephyr API Documentation  3.3.0
A Scalable Open Source RTOS
3.3.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
uhc_transfer Struct Reference

#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
 

Detailed Description

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).

Field Documentation

◆ addr

uint8_t uhc_transfer::addr

Device (peripheral) address

◆ attrib

uint8_t uhc_transfer::attrib

Endpoint attributes (TBD)

◆ claimed

unsigned int uhc_transfer::claimed

Flag marks request buffer claimed by the controller

◆ done

struct k_fifo uhc_transfer::done

FIFO to keep completed requests

◆ ep

uint8_t uhc_transfer::ep

Endpoint to which request is associated

◆ mps

uint16_t uhc_transfer::mps

Maximum packet size

◆ node

sys_dnode_t uhc_transfer::node

dlist node

◆ owner

void* uhc_transfer::owner

Transfer owner

◆ queue

struct k_fifo uhc_transfer::queue

FIFO requests to process

◆ queued

unsigned int uhc_transfer::queued

Flag marks request buffer is queued

◆ setup

unsigned int uhc_transfer::setup

Flag marks setup stage of transfer

◆ timeout

uint16_t uhc_transfer::timeout

Timeout in number of frames


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