element_taxonomy.html 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  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. <title>/package/taxonomy element</title>
  7. <title>CMSIS-Pack: /package/taxonomy element</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <link href="cmsis.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. <script type="text/javascript" src="printComponentTabs.js"></script>
  13. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  14. <script type="text/javascript" src="resize.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <script type="text/javascript">
  17. $(document).ready(initResizable);
  18. $(window).load(resizeHeight);
  19. </script>
  20. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  21. <script type="text/javascript" src="search/search.js"></script>
  22. <script type="text/javascript">
  23. $(document).ready(function() { searchBox.OnSelectItem(0); });
  24. </script>
  25. </head>
  26. <body>
  27. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  28. <div id="titlearea">
  29. <table cellspacing="0" cellpadding="0">
  30. <tbody>
  31. <tr style="height: 46px;">
  32. <td id="projectlogo"><img alt="Logo" src="CMSIS_Logo_Final.png"/></td>
  33. <td style="padding-left: 0.5em;">
  34. <div id="projectname">CMSIS-Pack
  35. &#160;<span id="projectnumber">Version 1.6.3</span>
  36. </div>
  37. <div id="projectbrief">Delivery Mechanism for Software Packs</div>
  38. </td>
  39. </tr>
  40. </tbody>
  41. </table>
  42. </div>
  43. <!-- end header part -->
  44. <div id="CMSISnav" class="tabs1">
  45. <ul class="tablist">
  46. <script type="text/javascript">
  47. <!--
  48. writeComponentTabs.call(this);
  49. //-->
  50. </script>
  51. </ul>
  52. </div>
  53. <!-- Generated by Doxygen 1.8.6 -->
  54. <script type="text/javascript">
  55. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  56. </script>
  57. <div id="navrow1" class="tabs">
  58. <ul class="tablist">
  59. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  60. <li class="current"><a href="pages.html"><span>Usage&#160;and&#160;Description</span></a></li>
  61. <li>
  62. <div id="MSearchBox" class="MSearchBoxInactive">
  63. <span class="left">
  64. <img id="MSearchSelect" src="search/mag_sel.png"
  65. onmouseover="return searchBox.OnSearchSelectShow()"
  66. onmouseout="return searchBox.OnSearchSelectHide()"
  67. alt=""/>
  68. <input type="text" id="MSearchField" value="Search" accesskey="S"
  69. onfocus="searchBox.OnSearchFieldFocus(true)"
  70. onblur="searchBox.OnSearchFieldFocus(false)"
  71. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  72. </span><span class="right">
  73. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  74. </span>
  75. </div>
  76. </li>
  77. </ul>
  78. </div>
  79. </div><!-- top -->
  80. <div id="side-nav" class="ui-resizable side-nav-resizable">
  81. <div id="nav-tree">
  82. <div id="nav-tree-contents">
  83. <div id="nav-sync" class="sync"></div>
  84. </div>
  85. </div>
  86. <div id="splitbar" style="-moz-user-select:none;"
  87. class="ui-resizable-handle">
  88. </div>
  89. </div>
  90. <script type="text/javascript">
  91. $(document).ready(function(){initNavTree('element_taxonomy.html','');});
  92. </script>
  93. <div id="doc-content">
  94. <!-- window showing the filter options -->
  95. <div id="MSearchSelectWindow"
  96. onmouseover="return searchBox.OnSearchSelectShow()"
  97. onmouseout="return searchBox.OnSearchSelectHide()"
  98. onkeydown="return searchBox.OnSearchSelectKey(event)">
  99. <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Pages</a></div>
  100. <!-- iframe showing the search results (closed by default) -->
  101. <div id="MSearchResultsWindow">
  102. <iframe src="javascript:void(0)" frameborder="0"
  103. name="MSearchResults" id="MSearchResults">
  104. </iframe>
  105. </div>
  106. <div class="header">
  107. <div class="headertitle">
  108. <div class="title">/package/taxonomy element </div> </div>
  109. </div><!--header-->
  110. <div class="contents">
  111. <div class="textblock"><p>Group to list description elements that define component classes and component group names used within a package description. This element is optional.</p>
  112. <p><b>Example:</b> </p>
  113. <div class="fragment"><div class="line">&lt;package&gt;</div>
  114. <div class="line"> ...</div>
  115. <div class="line"> &lt;taxonomy&gt;</div>
  116. <div class="line"> ...</div>
  117. <div class="line"> &lt;/taxonomy&gt;</div>
  118. <div class="line"> ...</div>
  119. <div class="line">&lt;/package&gt;</div>
  120. </div><!-- fragment --><p>&#160;</p>
  121. <table class="cmtable" summary="Element: Taxonomy">
  122. <tr>
  123. <th>Parent Element </th><th colspan="3">Element Chain </th></tr>
  124. <tr>
  125. <td><a class="el" href="pdsc_package_pg.html#element_package">package</a> </td><td colspan="3"><a class="el" href="pdsc_package_pg.html#element_package">/package</a> </td></tr>
  126. <tr>
  127. <th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence </th></tr>
  128. <tr>
  129. <td><a class="el" href="element_taxonomy.html#element_taxonomyDescription">description</a> </td><td>Describes or defines a component class or class-group combination. </td><td>TaxonomyDescriptionType </td><td>1..* </td></tr>
  130. </table>
  131. <p>&#160;</p>
  132. <hr/>
  133. <h1><a class="anchor" id="element_taxonomyDescription"></a>
  134. /package/taxonomy/description</h1>
  135. <p>This element describes a component class or the combination between a component class and a component group. Components are categorized by <em>Cclass</em> and <em>Cgroup</em>. The creator of a package can define names for <em>Cclass</em> and <em>Cgroup</em>. Thus, configuration tools can display the set of available components. A document can be referenced using the attribute <em>doc</em>. The attribute <em>generator</em> can be used to reference to a generator tool. The <em>id</em> of the generator needs to be the same as specified in the element <a class="el" href="pdsc_generators_pg.html#element_generator">/package/generators/generator</a>. The description itself is a string entered between the opening and closing tags of the element <b>description</b>.</p>
  136. <p>It is recommended to use an already agreed taxonomy for interchangeable components. For example, the combination of class <span class="XML-Token">CMSIS</span> and group <span class="XML-Token">Startup</span> is defined for the device-specific CMSIS-Core (Cortex-M) files.</p>
  137. <p>&#160;</p>
  138. <p><b>Example:</b> </p>
  139. <div class="fragment"><div class="line">&lt;taxonomy&gt;</div>
  140. <div class="line"> &lt;description Cclass=<span class="stringliteral">&quot;Board Support&quot;</span>&gt;Generic Interfaces <span class="keywordflow">for</span> Evaluation and Development Boards&lt;/description&gt;</div>
  141. <div class="line"> &lt;description Cclass=<span class="stringliteral">&quot;CMSIS&quot;</span> doc=<span class="stringliteral">&quot;CMSIS/Documentation/General/html/index.html&quot;</span>&gt;Cortex Microcontroller Software Interface Components&lt;/description&gt;</div>
  142. <div class="line"> &lt;description Cclass=<span class="stringliteral">&quot;Device&quot;</span> doc=<span class="stringliteral">&quot;CMSIS/Documentation/Core/html/index.html&quot;</span>&gt;Startup, System Setup&lt;/description&gt;</div>
  143. <div class="line"> &lt;description Cclass=<span class="stringliteral">&quot;CMSIS Driver&quot;</span> doc=<span class="stringliteral">&quot;CMSIS/Documentation/Driver/html/index.html&quot;</span>&gt;Unified Device Drivers compliant to CMSIS-Driver Specifications&lt;/description&gt;</div>
  144. <div class="line"> &lt;description Cclass=<span class="stringliteral">&quot;File System&quot;</span>&gt;File Drive Support and File System&lt;/description&gt;</div>
  145. <div class="line"> &lt;description Cclass=<span class="stringliteral">&quot;Graphics&quot;</span>&gt;Graphical User Interface&lt;/description&gt;</div>
  146. <div class="line"> &lt;description Cclass=<span class="stringliteral">&quot;Network&quot;</span>&gt;Network Stack <span class="keyword">using</span> Internet Protocols&lt;/description&gt;</div>
  147. <div class="line"> &lt;description Cclass=<span class="stringliteral">&quot;USB&quot;</span>&gt;Universal Serial Bus Stack&lt;/description&gt;</div>
  148. <div class="line"> &lt;description Cclass=<span class="stringliteral">&quot;RTOS&quot;</span>&gt;Realtime Operating System&lt;/description&gt;</div>
  149. <div class="line">&lt;/taxonomy&gt;</div>
  150. </div><!-- fragment --><dl class="section note"><dt>Note</dt><dd>You <b>must</b> <b>not</b> use Windows or Linux <a href="http://en.wikipedia.org/wiki/Filename#Reserved_characters_and_words" target="_blank">reserved characters</a> for <em>Cclass</em>, <em>Cgrouop</em>, and <em>Csub</em> names! Some development tools use these names to create a directory structure for the software components in projects. Reserved characters are: <pre class="fragment">&lt; (less than)
  151. &gt; (greater than)
  152. : (colon)
  153. " (double quote)
  154. / (forward slash)
  155. \ (backslash)
  156. | (vertical bar or pipe)
  157. ? (question mark)
  158. * (asterisk)
  159. </pre></dd></dl>
  160. <p>&#160;</p>
  161. <table class="cmtable" summary="Element: Taxonomy">
  162. <tr>
  163. <th>Parent Element </th><th colspan="3">Element Chain </th></tr>
  164. <tr>
  165. <td><a class="el" href="element_taxonomy.html">taxonomy</a> </td><td colspan="3"><a class="el" href="element_taxonomy.html">/package/taxonomy element</a> </td></tr>
  166. <tr>
  167. <th>Attributes </th><th>Description </th><th>Type </th><th>Use </th></tr>
  168. <tr>
  169. <td>Cclass </td><td>Component Class Name. Can be defined by the creator of the package. Predefined values can be used as listed in the table <a class="el" href="element_taxonomy.html#CclassType">Component Classes</a>. </td><td>Cclass </td><td>required </td></tr>
  170. <tr>
  171. <td>Cgroup </td><td>Component Group Name. Can be defined by the creator of the package. Predefined values can be used as listed in the table <a class="el" href="element_taxonomy.html#CgroupType">Component Groups</a>. </td><td>CgroupType </td><td>optional </td></tr>
  172. <tr>
  173. <td>doc </td><td>Reference to documentation. </td><td>xs:string </td><td>optional </td></tr>
  174. <tr>
  175. <td>generator </td><td>Reference to a generator. Enter the <b>id</b> value of the element <a class="el" href="pdsc_generators_pg.html#element_generator">/package/generators/generator</a>. </td><td>xs:string </td><td>optional </td></tr>
  176. <tr>
  177. <td>public </td><td>Set publishing permissions for the documentation. If <em>&lt;public&gt;</em> is <span class="XML-Token">true</span>, then the vendor gives permission to extract the documentation from the pack and publish it on a web-page. Links to web pages are assumed to be public. The default value is <span class="XML-Token">false</span>. </td><td>xs:boolean </td><td>optional </td></tr>
  178. </table>
  179. <p>&#160;</p>
  180. <p><a class="anchor" id="CclassType"></a><b>Table: Component Classes</b></p>
  181. <p>Component Class names are strings with a minimum length of 3 characters and a maximum length of 32 characters. Component class names are specified in the section <a class="el" href="element_taxonomy.html#element_taxonomyDescription">/package/taxonomy/description</a>.</p>
  182. <p>These values can be used in the elements:</p>
  183. <ul>
  184. <li><a class="el" href="pdsc_conditions_pg.html#element_accept">/package/conditions/condition/accept</a></li>
  185. <li><a class="el" href="pdsc_conditions_pg.html#element_require">/package/conditions/condition/require</a></li>
  186. <li><a class="el" href="pdsc_conditions_pg.html#element_deny">/package/conditions/condition/deny</a></li>
  187. <li><a class="el" href="pdsc_examples_pg.html#element_example_attribute_component">/package/examples/example/attributes/component</a></li>
  188. <li><a class="el" href="pdsc_components_pg.html#element_component">/package/components/.../component</a></li>
  189. <li><a class="el" href="pdsc_components_pg.html#element_bundle">/package/components/bundle</a></li>
  190. <li><a class="el" href="pdsc_apis_pg.html#element_api">/package/apis/api</a></li>
  191. <li><a class="el" href="element_taxonomy.html#element_taxonomyDescription">/package/taxonomy/description</a></li>
  192. </ul>
  193. <p><b>Example:</b> </p>
  194. <div class="fragment"><div class="line">&lt;... Cclass=<span class="stringliteral">&quot;CMSIS&quot;</span> ...&gt;</div>
  195. </div><!-- fragment --> <p>&#160;</p>
  196. <p>The table lists predefined Component Classes. </p>
  197. <table class="cmtable" summary="Predefined Cclass names">
  198. <tr>
  199. <th>Cclass= </th><th>Description </th></tr>
  200. <tr>
  201. <td class="XML-Token">Audio </td><td>Software components for audio processing </td></tr>
  202. <tr>
  203. <td class="XML-Token">Board Support </td><td>Components providing interfaces for Evaluation and Development Boards </td></tr>
  204. <tr>
  205. <td class="XML-Token">Board Part </td><td>Drivers that support an external component available on an evaluation board </td></tr>
  206. <tr>
  207. <td class="XML-Token">Compiler </td><td>Components implementing compiler specific interfaces (e.g. Retargeting) </td></tr>
  208. <tr>
  209. <td class="XML-Token">CMSIS </td><td>Components defined by Cortex Microcontroller Software Interface Standard (e.g. <a href="../../Core/html/index.html" class="el">CMSIS-Core(M)</a>, <a href="../../Core_A/html/index.html" class="el">CMSIS-Core(A)</a>, <a href="../../DSP/html/index.html" class="el">CMSIS-DSP</a> and <a href="../../RTOS/html/index.html" class="el">CMSIS-RTOS</a>) </td></tr>
  210. <tr>
  211. <td class="XML-Token">CMSIS Driver </td><td>Components implementing unified device drivers compliant to <a href="../../Driver/html/index.html" class="el">CMSIS-Driver</a> (e.g. UART, SPI, USB, etc.) </td></tr>
  212. <tr>
  213. <td class="XML-Token">Device </td><td>Components containing device specific implementations of non-standard APIs (e.g. HAL drivers, CMSIS Startup files) </td></tr>
  214. <tr>
  215. <td class="XML-Token">Data Exchange </td><td>Components implementing some kind of data exchange or data formatter </td></tr>
  216. <tr>
  217. <td class="XML-Token">Extension Board </td><td>Drivers that support an extension board or shield </td></tr>
  218. <tr>
  219. <td class="XML-Token">File System </td><td>Components implementing some kind of File Systems (e.g. Flash or RAM based file systems) </td></tr>
  220. <tr>
  221. <td class="XML-Token">Graphics </td><td>Components implementing some kind of Display and Graphics Software </td></tr>
  222. <tr>
  223. <td class="XML-Token">IoT Client </td><td>Components implementing some kind of IoT cloud client connector </td></tr>
  224. <tr>
  225. <td class="XML-Token">IoT Utility </td><td>IoT specific software utility </td></tr>
  226. <tr>
  227. <td class="XML-Token">Network </td><td>Components implementing some kind of network communications (e.g. TCP/IP Stack) </td></tr>
  228. <tr>
  229. <td class="XML-Token">RTOS </td><td>Components implementing some kind of real-time operating system (e.g. FreeRTOS, Micrium Real Time Kernel) </td></tr>
  230. <tr>
  231. <td class="XML-Token">Security </td><td>Components implementing some kind of encryption for secure communication or storage </td></tr>
  232. <tr>
  233. <td class="XML-Token">USB </td><td>Components implementing some kind of USB interfaces (e.g. Host and Device interfaces) </td></tr>
  234. <tr>
  235. <td class="XML-Token">Utility </td><td>Generic software utility components </td></tr>
  236. </table>
  237. <p>&#160;</p>
  238. <p><a class="anchor" id="CgroupType"></a><b>Table: Component Groups</b></p>
  239. <p>Component Group names are specified by the element <b>Cgroup</b> and create categories within a Component Class specified by the element <b>Cclass</b>. The creator of the Pack can define the names in the element <a class="el" href="element_taxonomy.html#element_taxonomyDescription">/package/taxonomy/description</a>. A Component Group name is string with a length between 3 and 32 characters.</p>
  240. <p><b>Example:</b> </p>
  241. <div class="fragment"><div class="line">&lt;... Cgroup=<span class="stringliteral">&quot;RTOS&quot;</span> Cclass=<span class="stringliteral">&quot;CMSIS&quot;</span>...&gt;</div>
  242. </div><!-- fragment --> <p>&#160;</p>
  243. <p>Component Groups can be used in the elements:</p>
  244. <ul>
  245. <li><a class="el" href="pdsc_conditions_pg.html#element_accept">/package/conditions/condition/accept</a></li>
  246. <li><a class="el" href="pdsc_conditions_pg.html#element_require">/package/conditions/condition/require</a></li>
  247. <li><a class="el" href="pdsc_conditions_pg.html#element_deny">/package/conditions/condition/deny</a></li>
  248. <li><a class="el" href="pdsc_examples_pg.html#element_example_attribute_component">/package/examples/example/attributes/component</a></li>
  249. <li><a class="el" href="pdsc_components_pg.html#element_component">/package/components/.../component</a></li>
  250. <li><a class="el" href="pdsc_apis_pg.html#element_api">/package/apis/api</a></li>
  251. <li><a class="el" href="element_taxonomy.html#element_taxonomyDescription">/package/taxonomy/description</a></li>
  252. </ul>
  253. <p>The following table lists predefined values for the Component Class <b>Cclass="CMSIS"</b>. </p>
  254. <table class="cmtable" summary="Predefined Cgroup names for Component Class CMSIS">
  255. <tr>
  256. <th>Cgroup= </th><th>Description </th></tr>
  257. <tr>
  258. <td class="XML-Token">CORE </td><td>A component containing core support in accordance to the <a href="../../Core/html/index.html" class="el">CMSIS-Core(M)</a> or <a href="../../Core_A/html/index.html" class="el">CMSIS-Core(A)</a> specifications. </td></tr>
  259. <tr>
  260. <td class="XML-Token">DSP </td><td>A component implementing the <a href="../../DSP/html/index.html" class="el">CMSIS-DSP</a> API specification. </td></tr>
  261. <tr>
  262. <td class="XML-Token">NN Lib </td><td>A component implementing the <a href="../../NN/html/index.html" class="el">CMSIS-NN</a> API specification. </td></tr>
  263. <tr>
  264. <td class="XML-Token">RTOS </td><td>A component implementing the <a href="../../RTOS/html/index.html" class="el">CMSIS-RTOS</a> API specification. </td></tr>
  265. <tr>
  266. <td class="XML-Token">RTOS2 </td><td>A component implementing the <a href="../../RTOS2/html/index.html" class="el">CMSIS-RTOS v2</a> API specification. </td></tr>
  267. </table>
  268. <p>The following table lists predefined values for the Component Class <b>Cclass="Device"</b>. </p>
  269. <table class="cmtable" summary="Predefined Cgroup names for Component Class Device">
  270. <tr>
  271. <th>Cgroup= </th><th>Description </th></tr>
  272. <tr>
  273. <td class="XML-Token">Startup </td><td>A component containing the device support files system_device.c and startup_device.s/c in accordance to the <a href="../../Core/html/index.html" class="el">CMSIS-Core(M)</a> or <a href="../../Core_A/html/index.html" class="el">CMSIS-Core(A)</a> specifications (startup, system and device files). </td></tr>
  274. </table>
  275. <p>&#160;</p>
  276. </div></div><!-- contents -->
  277. </div><!-- doc-content -->
  278. <!-- start footer part -->
  279. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  280. <ul>
  281. <li class="navelem"><a class="el" href="packFormat.html">Pack Description (*.pdsc) Format</a></li>
  282. <li class="footer">Generated on Thu Apr 9 2020 15:49:54 for CMSIS-Pack Version 1.6.3 by Arm Ltd. All rights reserved.
  283. <!--
  284. <a href="http://www.doxygen.org/index.html">
  285. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6
  286. -->
  287. </li>
  288. </ul>
  289. </div>
  290. </body>
  291. </html>