Lightweight USB stack  1.0
usb_cdc_country_desc Struct Reference

Country Selection Functional Descriptor. More...

#include <usb_cdc.h>

Data Fields

uint8_t bFunctionLength
 Size of this functional descriptor, in bytes.
 
uint8_t bDescriptorType
 CS_INTERFACE descriptor type.
 
uint8_t bDescriptorSubType
 Country Selection Functional Descriptor.
 
uint8_t iCountryCodeRelDate
 Index of a string giving the release date for the implemented ISO 3166 Country Codes.
 
uint8_t wCountyCode0
 Country code in hexadecimal format. More...
 

Detailed Description

Country Selection Functional Descriptor.

The Country Selection functional descriptor identifies the countries in which the communication device is qualified to operate. The parameters of the network connection often vary from one country to another, especially in Europe. Also legal requirements impose certain restrictions on devices because of different regulations by the governing body of the network to which the device must adhere. This descriptor can only occur within the class-specific portion of an Interface descriptor and should only be provided to a master Communication Class interface of a union. The country codes used in the Country Selection Functional Descriptor are not the same as the country codes used in dialing international telephone calls. Implementers should refer to the ISO 3166 specification for more information.

Definition at line 226 of file usb_cdc.h.

Field Documentation

◆ wCountyCode0

uint8_t usb_cdc_country_desc::wCountyCode0

Country code in hexadecimal format.

As defined in ISO 3166, release date as specified in iCountryCodeRelDate for the first supported country.

Definition at line 232 of file usb_cdc.h.


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