Zephyr Project API  3.4.0
A Scalable Open Source RTOS
usbd_desc_node Struct Reference

#include <usbd.h>

Data Fields

sys_dnode_t node
 
unsigned int idx: 8
 
unsigned int utype: 8
 
unsigned int utf16le: 1
 
unsigned int custom_sn: 1
 
void * desc
 

Detailed Description

Descriptor node

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

Field Documentation

◆ custom_sn

unsigned int usbd_desc_node::custom_sn

If not set, device stack obtains SN using the hwinfo API

◆ desc

void* usbd_desc_node::desc

Pointer to a descriptor

◆ idx

unsigned int usbd_desc_node::idx

Descriptor index, required for string descriptors

◆ node

sys_dnode_t usbd_desc_node::node

slist node struct

◆ utf16le

unsigned int usbd_desc_node::utf16le

If not set, string descriptor must be converted to UTF16LE

◆ utype

unsigned int usbd_desc_node::utype

Descriptor usage type (not bDescriptorType)


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