您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

struct_c_i_d.html 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  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.14"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>SdFat: CID Class 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="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">SdFat
  25. </div>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <!-- end header part -->
  32. <!-- Generated by Doxygen 1.8.14 -->
  33. <script type="text/javascript">
  34. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. /* @license-end */
  37. </script>
  38. <script type="text/javascript" src="menudata.js"></script>
  39. <script type="text/javascript" src="menu.js"></script>
  40. <script type="text/javascript">
  41. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  42. $(function() {
  43. initMenu('',true,false,'search.php','Search');
  44. $(document).ready(function() { init_search(); });
  45. });
  46. /* @license-end */</script>
  47. <div id="main-nav"></div>
  48. <!-- window showing the filter options -->
  49. <div id="MSearchSelectWindow"
  50. onmouseover="return searchBox.OnSearchSelectShow()"
  51. onmouseout="return searchBox.OnSearchSelectHide()"
  52. onkeydown="return searchBox.OnSearchSelectKey(event)">
  53. </div>
  54. <!-- iframe showing the search results (closed by default) -->
  55. <div id="MSearchResultsWindow">
  56. <iframe src="javascript:void(0)" frameborder="0"
  57. name="MSearchResults" id="MSearchResults">
  58. </iframe>
  59. </div>
  60. </div><!-- top -->
  61. <div class="header">
  62. <div class="summary">
  63. <a href="#pub-attribs">Public Attributes</a> &#124;
  64. <a href="struct_c_i_d-members.html">List of all members</a> </div>
  65. <div class="headertitle">
  66. <div class="title">CID Class Reference</div> </div>
  67. </div><!--header-->
  68. <div class="contents">
  69. <p>Card IDentification (<a class="el" href="struct_c_i_d.html" title="Card IDentification (CID) register. ">CID</a>) register.
  70. <a href="struct_c_i_d.html#details">More...</a></p>
  71. <p><code>#include &lt;SdCardInfo.h&gt;</code></p>
  72. <table class="memberdecls">
  73. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  74. Public Attributes</h2></td></tr>
  75. <tr class="memitem:ae9d4ba51ed4102255aa87bb92882f119"><td class="memItemLeft" align="right" valign="top">unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_i_d.html#ae9d4ba51ed4102255aa87bb92882f119">always1</a>: 1</td></tr>
  76. <tr class="separator:ae9d4ba51ed4102255aa87bb92882f119"><td class="memSeparator" colspan="2">&#160;</td></tr>
  77. <tr class="memitem:aa10cfc5aef8e979e47009474dfa3d940"><td class="memItemLeft" align="right" valign="top">unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_i_d.html#aa10cfc5aef8e979e47009474dfa3d940">crc</a>: 7</td></tr>
  78. <tr class="separator:aa10cfc5aef8e979e47009474dfa3d940"><td class="memSeparator" colspan="2">&#160;</td></tr>
  79. <tr class="memitem:a60e35d4b824da135dc2a9197c5544929"><td class="memItemLeft" align="right" valign="top">unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_i_d.html#a60e35d4b824da135dc2a9197c5544929">mdt_month</a>: 4</td></tr>
  80. <tr class="separator:a60e35d4b824da135dc2a9197c5544929"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr class="memitem:a6b16c5e74b48af39036aa831fca4cb46"><td class="memItemLeft" align="right" valign="top">unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_i_d.html#a6b16c5e74b48af39036aa831fca4cb46">mdt_year_high</a>: 4</td></tr>
  82. <tr class="separator:a6b16c5e74b48af39036aa831fca4cb46"><td class="memSeparator" colspan="2">&#160;</td></tr>
  83. <tr class="memitem:afe44a84b416bea68dea9bad27c172c3d"><td class="memItemLeft" align="right" valign="top">unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_i_d.html#afe44a84b416bea68dea9bad27c172c3d">mdt_year_low</a>: 4</td></tr>
  84. <tr class="separator:afe44a84b416bea68dea9bad27c172c3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  85. <tr class="memitem:aa77436aa64a8a0e80573ade765039d2f"><td class="memItemLeft" align="right" valign="top">unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_i_d.html#aa77436aa64a8a0e80573ade765039d2f">mid</a></td></tr>
  86. <tr class="separator:aa77436aa64a8a0e80573ade765039d2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <tr class="memitem:a12cb950aa46c62c8af1e530006f97031"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_i_d.html#a12cb950aa46c62c8af1e530006f97031">oid</a> [2]</td></tr>
  88. <tr class="separator:a12cb950aa46c62c8af1e530006f97031"><td class="memSeparator" colspan="2">&#160;</td></tr>
  89. <tr class="memitem:a6484cd56fc4bacfa815c12d8682129ba"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_i_d.html#a6484cd56fc4bacfa815c12d8682129ba">pnm</a> [5]</td></tr>
  90. <tr class="separator:a6484cd56fc4bacfa815c12d8682129ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
  91. <tr class="memitem:a142fd792bb74d7af1f0fb62833ae053b"><td class="memItemLeft" align="right" valign="top">unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_i_d.html#a142fd792bb74d7af1f0fb62833ae053b">prv_m</a>: 4</td></tr>
  92. <tr class="separator:a142fd792bb74d7af1f0fb62833ae053b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  93. <tr class="memitem:ae50f389a50daf99d15d1ea7ce2d426cf"><td class="memItemLeft" align="right" valign="top">unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_i_d.html#ae50f389a50daf99d15d1ea7ce2d426cf">prv_n</a>: 4</td></tr>
  94. <tr class="separator:ae50f389a50daf99d15d1ea7ce2d426cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  95. <tr class="memitem:ada215f8541fa46078461d8da9574fc5e"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_i_d.html#ada215f8541fa46078461d8da9574fc5e">psn</a></td></tr>
  96. <tr class="separator:ada215f8541fa46078461d8da9574fc5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. <tr class="memitem:a7d489455802a3a9728a5cec60927a7c7"><td class="memItemLeft" align="right" valign="top">unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_i_d.html#a7d489455802a3a9728a5cec60927a7c7">reserved</a>: 4</td></tr>
  98. <tr class="separator:a7d489455802a3a9728a5cec60927a7c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. </table>
  100. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  101. <div class="textblock"><p>Card IDentification (<a class="el" href="struct_c_i_d.html" title="Card IDentification (CID) register. ">CID</a>) register. </p>
  102. </div><h2 class="groupheader">Member Data Documentation</h2>
  103. <a id="ae9d4ba51ed4102255aa87bb92882f119"></a>
  104. <h2 class="memtitle"><span class="permalink"><a href="#ae9d4ba51ed4102255aa87bb92882f119">&#9670;&nbsp;</a></span>always1</h2>
  105. <div class="memitem">
  106. <div class="memproto">
  107. <table class="memname">
  108. <tr>
  109. <td class="memname">unsigned char CID::always1</td>
  110. </tr>
  111. </table>
  112. </div><div class="memdoc">
  113. <p>not used always 1 </p>
  114. </div>
  115. </div>
  116. <a id="aa10cfc5aef8e979e47009474dfa3d940"></a>
  117. <h2 class="memtitle"><span class="permalink"><a href="#aa10cfc5aef8e979e47009474dfa3d940">&#9670;&nbsp;</a></span>crc</h2>
  118. <div class="memitem">
  119. <div class="memproto">
  120. <table class="memname">
  121. <tr>
  122. <td class="memname">unsigned char CID::crc</td>
  123. </tr>
  124. </table>
  125. </div><div class="memdoc">
  126. <p>CRC7 checksum </p>
  127. </div>
  128. </div>
  129. <a id="a60e35d4b824da135dc2a9197c5544929"></a>
  130. <h2 class="memtitle"><span class="permalink"><a href="#a60e35d4b824da135dc2a9197c5544929">&#9670;&nbsp;</a></span>mdt_month</h2>
  131. <div class="memitem">
  132. <div class="memproto">
  133. <table class="memname">
  134. <tr>
  135. <td class="memname">unsigned char CID::mdt_month</td>
  136. </tr>
  137. </table>
  138. </div><div class="memdoc">
  139. <p>Manufacturing date month </p>
  140. </div>
  141. </div>
  142. <a id="a6b16c5e74b48af39036aa831fca4cb46"></a>
  143. <h2 class="memtitle"><span class="permalink"><a href="#a6b16c5e74b48af39036aa831fca4cb46">&#9670;&nbsp;</a></span>mdt_year_high</h2>
  144. <div class="memitem">
  145. <div class="memproto">
  146. <table class="memname">
  147. <tr>
  148. <td class="memname">unsigned char CID::mdt_year_high</td>
  149. </tr>
  150. </table>
  151. </div><div class="memdoc">
  152. <p>Manufacturing date year high digit </p>
  153. </div>
  154. </div>
  155. <a id="afe44a84b416bea68dea9bad27c172c3d"></a>
  156. <h2 class="memtitle"><span class="permalink"><a href="#afe44a84b416bea68dea9bad27c172c3d">&#9670;&nbsp;</a></span>mdt_year_low</h2>
  157. <div class="memitem">
  158. <div class="memproto">
  159. <table class="memname">
  160. <tr>
  161. <td class="memname">unsigned char CID::mdt_year_low</td>
  162. </tr>
  163. </table>
  164. </div><div class="memdoc">
  165. <p>Manufacturing date year low digit </p>
  166. </div>
  167. </div>
  168. <a id="aa77436aa64a8a0e80573ade765039d2f"></a>
  169. <h2 class="memtitle"><span class="permalink"><a href="#aa77436aa64a8a0e80573ade765039d2f">&#9670;&nbsp;</a></span>mid</h2>
  170. <div class="memitem">
  171. <div class="memproto">
  172. <table class="memname">
  173. <tr>
  174. <td class="memname">unsigned char CID::mid</td>
  175. </tr>
  176. </table>
  177. </div><div class="memdoc">
  178. <p>Manufacturer ID </p>
  179. </div>
  180. </div>
  181. <a id="a12cb950aa46c62c8af1e530006f97031"></a>
  182. <h2 class="memtitle"><span class="permalink"><a href="#a12cb950aa46c62c8af1e530006f97031">&#9670;&nbsp;</a></span>oid</h2>
  183. <div class="memitem">
  184. <div class="memproto">
  185. <table class="memname">
  186. <tr>
  187. <td class="memname">char CID::oid[2]</td>
  188. </tr>
  189. </table>
  190. </div><div class="memdoc">
  191. <p>OEM/Application ID </p>
  192. </div>
  193. </div>
  194. <a id="a6484cd56fc4bacfa815c12d8682129ba"></a>
  195. <h2 class="memtitle"><span class="permalink"><a href="#a6484cd56fc4bacfa815c12d8682129ba">&#9670;&nbsp;</a></span>pnm</h2>
  196. <div class="memitem">
  197. <div class="memproto">
  198. <table class="memname">
  199. <tr>
  200. <td class="memname">char CID::pnm[5]</td>
  201. </tr>
  202. </table>
  203. </div><div class="memdoc">
  204. <p>Product name </p>
  205. </div>
  206. </div>
  207. <a id="a142fd792bb74d7af1f0fb62833ae053b"></a>
  208. <h2 class="memtitle"><span class="permalink"><a href="#a142fd792bb74d7af1f0fb62833ae053b">&#9670;&nbsp;</a></span>prv_m</h2>
  209. <div class="memitem">
  210. <div class="memproto">
  211. <table class="memname">
  212. <tr>
  213. <td class="memname">unsigned char CID::prv_m</td>
  214. </tr>
  215. </table>
  216. </div><div class="memdoc">
  217. <p>Product revision least significant digit </p>
  218. </div>
  219. </div>
  220. <a id="ae50f389a50daf99d15d1ea7ce2d426cf"></a>
  221. <h2 class="memtitle"><span class="permalink"><a href="#ae50f389a50daf99d15d1ea7ce2d426cf">&#9670;&nbsp;</a></span>prv_n</h2>
  222. <div class="memitem">
  223. <div class="memproto">
  224. <table class="memname">
  225. <tr>
  226. <td class="memname">unsigned char CID::prv_n</td>
  227. </tr>
  228. </table>
  229. </div><div class="memdoc">
  230. <p>Product revision most significant digit </p>
  231. </div>
  232. </div>
  233. <a id="ada215f8541fa46078461d8da9574fc5e"></a>
  234. <h2 class="memtitle"><span class="permalink"><a href="#ada215f8541fa46078461d8da9574fc5e">&#9670;&nbsp;</a></span>psn</h2>
  235. <div class="memitem">
  236. <div class="memproto">
  237. <table class="memname">
  238. <tr>
  239. <td class="memname">uint32_t CID::psn</td>
  240. </tr>
  241. </table>
  242. </div><div class="memdoc">
  243. <p>Product serial number </p>
  244. </div>
  245. </div>
  246. <a id="a7d489455802a3a9728a5cec60927a7c7"></a>
  247. <h2 class="memtitle"><span class="permalink"><a href="#a7d489455802a3a9728a5cec60927a7c7">&#9670;&nbsp;</a></span>reserved</h2>
  248. <div class="memitem">
  249. <div class="memproto">
  250. <table class="memname">
  251. <tr>
  252. <td class="memname">unsigned char CID::reserved</td>
  253. </tr>
  254. </table>
  255. </div><div class="memdoc">
  256. <p>not used </p>
  257. </div>
  258. </div>
  259. <hr/>The documentation for this class was generated from the following file:<ul>
  260. <li>ArduinoSdFat/libraries/SdFat/src/SdCard/SdCardInfo.h</li>
  261. </ul>
  262. </div><!-- contents -->
  263. <!-- start footer part -->
  264. <hr class="footer"/><address class="footer"><small>
  265. Generated on Thu May 9 2019 06:51:28 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  266. <img class="footer" src="doxygen.png" alt="doxygen"/>
  267. </a> 1.8.14
  268. </small></address>
  269. </body>
  270. </html>