Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
usbd_desc_node Struct Reference

Descriptor node. More...

#include <usbd.h>

Data Fields

sys_dnode_t node
 slist node struct
 
union { 
 
   struct usbd_str_desc_data   str 
 
   struct usbd_bos_desc_data   bos 
 
};  
 
const void *const ptr
 Opaque pointer to a descriptor payload.
 
uint8_t bLength
 Descriptor size in bytes.
 
uint8_t bDescriptorType
 Descriptor type.
 

Detailed Description

Descriptor node.

Descriptor node is used to manage descriptors that are not directly part of a structure, such as string or BOS capability descriptors.

Field Documentation

◆ [union]

union { ... } usbd_desc_node

◆ bDescriptorType

uint8_t usbd_desc_node::bDescriptorType

Descriptor type.

◆ bLength

uint8_t usbd_desc_node::bLength

Descriptor size in bytes.

◆ bos

struct usbd_bos_desc_data usbd_desc_node::bos

◆ node

sys_dnode_t usbd_desc_node::node

slist node struct

◆ ptr

const void* const usbd_desc_node::ptr

Opaque pointer to a descriptor payload.

◆ str

struct usbd_str_desc_data usbd_desc_node::str

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