Zephyr Project API
3.4.0
A Scalable Open Source RTOS
|
#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 |
Descriptor node
Descriptor node is used to manage descriptors that are not directly part of a structure, such as string or bos descriptors.
unsigned int usbd_desc_node::custom_sn |
If not set, device stack obtains SN using the hwinfo API
void* usbd_desc_node::desc |
Pointer to a descriptor
unsigned int usbd_desc_node::idx |
Descriptor index, required for string descriptors
sys_dnode_t usbd_desc_node::node |
slist node struct
unsigned int usbd_desc_node::utf16le |
If not set, string descriptor must be converted to UTF16LE
unsigned int usbd_desc_node::utype |
Descriptor usage type (not bDescriptorType)