Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
usbd_str_desc_data Struct Reference

Used internally to keep descriptors in order. More...

#include <usbd.h>

Data Fields

uint8_t idx
 Descriptor index, required for string descriptors.
 
enum usbd_str_desc_utype utype: 8
 Descriptor usage type (not bDescriptorType)
 
unsigned int ascii7: 1
 The string descriptor is in ASCII7 format.
 
unsigned int use_hwinfo: 1
 Device stack obtains SerialNumber using the HWINFO API.
 

Detailed Description

Used internally to keep descriptors in order.

USBD string descriptor data

Field Documentation

◆ ascii7

unsigned int usbd_str_desc_data::ascii7

The string descriptor is in ASCII7 format.

◆ idx

uint8_t usbd_str_desc_data::idx

Descriptor index, required for string descriptors.

◆ use_hwinfo

unsigned int usbd_str_desc_data::use_hwinfo

Device stack obtains SerialNumber using the HWINFO API.

◆ utype

enum usbd_str_desc_utype usbd_str_desc_data::utype

Descriptor usage type (not bDescriptorType)


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