1
0

a00116.html 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.13"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>Lightweight USB stack: usb_cdc_country_desc Struct Reference</title>
  9. <link href="../../tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="../../jquery.js"></script>
  11. <script type="text/javascript" src="../../dynsections.js"></script>
  12. <link href="../../navtree.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="../../resize.js"></script>
  14. <script type="text/javascript" src="../../navtreedata.js"></script>
  15. <script type="text/javascript" src="../../navtree.js"></script>
  16. <script type="text/javascript">
  17. $(document).ready(initResizable);
  18. </script>
  19. <link href="../../search/search.css" rel="stylesheet" type="text/css"/>
  20. <script type="text/javascript" src="../../search/searchdata.js"></script>
  21. <script type="text/javascript" src="../../search/search.js"></script>
  22. <link href="../../doxygen.css" rel="stylesheet" type="text/css" />
  23. </head>
  24. <body>
  25. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  26. <div id="titlearea">
  27. <table cellspacing="0" cellpadding="0">
  28. <tbody>
  29. <tr style="height: 56px;">
  30. <td id="projectalign" style="padding-left: 0.5em;">
  31. <div id="projectname">Lightweight USB stack
  32. &#160;<span id="projectnumber">1.0</span>
  33. </div>
  34. </td>
  35. </tr>
  36. </tbody>
  37. </table>
  38. </div>
  39. <!-- end header part -->
  40. <!-- Generated by Doxygen 1.8.13 -->
  41. <script type="text/javascript">
  42. var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
  43. </script>
  44. <script type="text/javascript" src="../../menudata.js"></script>
  45. <script type="text/javascript" src="../../menu.js"></script>
  46. <script type="text/javascript">
  47. $(function() {
  48. initMenu('../../',true,false,'search.php','Search');
  49. $(document).ready(function() { init_search(); });
  50. });
  51. </script>
  52. <div id="main-nav"></div>
  53. </div><!-- top -->
  54. <div id="side-nav" class="ui-resizable side-nav-resizable">
  55. <div id="nav-tree">
  56. <div id="nav-tree-contents">
  57. <div id="nav-sync" class="sync"></div>
  58. </div>
  59. </div>
  60. <div id="splitbar" style="-moz-user-select:none;"
  61. class="ui-resizable-handle">
  62. </div>
  63. </div>
  64. <script type="text/javascript">
  65. $(document).ready(function(){initNavTree('d4/d3e/a00116.html','../../');});
  66. </script>
  67. <div id="doc-content">
  68. <!-- window showing the filter options -->
  69. <div id="MSearchSelectWindow"
  70. onmouseover="return searchBox.OnSearchSelectShow()"
  71. onmouseout="return searchBox.OnSearchSelectHide()"
  72. onkeydown="return searchBox.OnSearchSelectKey(event)">
  73. </div>
  74. <!-- iframe showing the search results (closed by default) -->
  75. <div id="MSearchResultsWindow">
  76. <iframe src="javascript:void(0)" frameborder="0"
  77. name="MSearchResults" id="MSearchResults">
  78. </iframe>
  79. </div>
  80. <div class="header">
  81. <div class="summary">
  82. <a href="#pub-attribs">Data Fields</a> </div>
  83. <div class="headertitle">
  84. <div class="title">usb_cdc_country_desc Struct Reference<div class="ingroups"><a class="el" href="../../da/d82/a00091.html">USB CDC class</a></div></div> </div>
  85. </div><!--header-->
  86. <div class="contents">
  87. <p>Country Selection Functional Descriptor.
  88. <a href="../../d4/d3e/a00116.html#details">More...</a></p>
  89. <p><code>#include &lt;<a class="el" href="../../d5/df9/a00044_source.html">usb_cdc.h</a>&gt;</code></p>
  90. <table class="memberdecls">
  91. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  92. Data Fields</h2></td></tr>
  93. <tr class="memitem:a4110cc01a23388a70cbc7a4ed42f7bf3"><td class="memItemLeft" align="right" valign="top"><a id="a4110cc01a23388a70cbc7a4ed42f7bf3"></a>
  94. uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d3e/a00116.html#a4110cc01a23388a70cbc7a4ed42f7bf3">bFunctionLength</a></td></tr>
  95. <tr class="memdesc:a4110cc01a23388a70cbc7a4ed42f7bf3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of this functional descriptor, in bytes. <br /></td></tr>
  96. <tr class="separator:a4110cc01a23388a70cbc7a4ed42f7bf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. <tr class="memitem:a8690e2c7e4b41c2befb77d531ae076b1"><td class="memItemLeft" align="right" valign="top"><a id="a8690e2c7e4b41c2befb77d531ae076b1"></a>
  98. uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d3e/a00116.html#a8690e2c7e4b41c2befb77d531ae076b1">bDescriptorType</a></td></tr>
  99. <tr class="memdesc:a8690e2c7e4b41c2befb77d531ae076b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">CS_INTERFACE descriptor type. <br /></td></tr>
  100. <tr class="separator:a8690e2c7e4b41c2befb77d531ae076b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:a05410e1cb1b77a9aa05b018236723a0c"><td class="memItemLeft" align="right" valign="top"><a id="a05410e1cb1b77a9aa05b018236723a0c"></a>
  102. uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d3e/a00116.html#a05410e1cb1b77a9aa05b018236723a0c">bDescriptorSubType</a></td></tr>
  103. <tr class="memdesc:a05410e1cb1b77a9aa05b018236723a0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Country Selection Functional Descriptor. <br /></td></tr>
  104. <tr class="separator:a05410e1cb1b77a9aa05b018236723a0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:ac8d6621513bcded293d2e905da0c7541"><td class="memItemLeft" align="right" valign="top"><a id="ac8d6621513bcded293d2e905da0c7541"></a>
  106. uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d3e/a00116.html#ac8d6621513bcded293d2e905da0c7541">iCountryCodeRelDate</a></td></tr>
  107. <tr class="memdesc:ac8d6621513bcded293d2e905da0c7541"><td class="mdescLeft">&#160;</td><td class="mdescRight">Index of a string giving the release date for the implemented ISO 3166 Country Codes. <br /></td></tr>
  108. <tr class="separator:ac8d6621513bcded293d2e905da0c7541"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:a87f5818c0cc1323ab0a9b5a0b6791aa6"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d3e/a00116.html#a87f5818c0cc1323ab0a9b5a0b6791aa6">wCountyCode0</a></td></tr>
  110. <tr class="memdesc:a87f5818c0cc1323ab0a9b5a0b6791aa6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Country code in hexadecimal format. <a href="#a87f5818c0cc1323ab0a9b5a0b6791aa6">More...</a><br /></td></tr>
  111. <tr class="separator:a87f5818c0cc1323ab0a9b5a0b6791aa6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. </table>
  113. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  114. <div class="textblock"><p>Country Selection Functional Descriptor. </p>
  115. <p>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. </p>
  116. <p class="definition">Definition at line <a class="el" href="../../d5/df9/a00044_source.html#l00226">226</a> of file <a class="el" href="../../d5/df9/a00044_source.html">usb_cdc.h</a>.</p>
  117. </div><h2 class="groupheader">Field Documentation</h2>
  118. <a id="a87f5818c0cc1323ab0a9b5a0b6791aa6"></a>
  119. <h2 class="memtitle"><span class="permalink"><a href="#a87f5818c0cc1323ab0a9b5a0b6791aa6">&#9670;&nbsp;</a></span>wCountyCode0</h2>
  120. <div class="memitem">
  121. <div class="memproto">
  122. <table class="memname">
  123. <tr>
  124. <td class="memname">uint8_t usb_cdc_country_desc::wCountyCode0</td>
  125. </tr>
  126. </table>
  127. </div><div class="memdoc">
  128. <p>Country code in hexadecimal format. </p>
  129. <p>As defined in ISO 3166, release date as specified in iCountryCodeRelDate for the first supported country. </p>
  130. <p class="definition">Definition at line <a class="el" href="../../d5/df9/a00044_source.html#l00232">232</a> of file <a class="el" href="../../d5/df9/a00044_source.html">usb_cdc.h</a>.</p>
  131. </div>
  132. </div>
  133. <hr/>The documentation for this struct was generated from the following file:<ul>
  134. <li><a class="el" href="../../d5/df9/a00044_source.html">usb_cdc.h</a></li>
  135. </ul>
  136. </div><!-- contents -->
  137. </div><!-- doc-content -->
  138. <!-- start footer part -->
  139. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  140. <ul>
  141. <li class="navelem"><a class="el" href="../../d4/d3e/a00116.html">usb_cdc_country_desc</a></li>
  142. <li class="footer">Generated by
  143. <a href="http://www.doxygen.org/index.html">
  144. <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  145. </ul>
  146. </div>
  147. </body>
  148. </html>