Files @ 6982c8ddef15
Branch filter:

Location: therm/Libraries/CMSIS/Documentation/SVD/html/svd__outline_pg.html - annotation

Ethan Zonca
Add graphics lib
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
dc0c251991cc
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>CMSIS-SVD: SVD File Description</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="cmsis.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="stylsheetf" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 46px;">
  <td id="projectlogo"><img alt="Logo" src="CMSIS_Logo_Final.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">CMSIS-SVD
   &#160;<span id="projectnumber">Version 1.10</span>
   </div>
   <div id="projectbrief">CMSIS System View Description</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<div id="CMSISnav" class="tabs1">
    <ul class="tablist">
      <li><a href="../../General/html/index.html"><span>CMSIS</span></a></li>
      <li><a href="../../Core/html/index.html"><span>CORE</span></a></li>
      <li><a href="../../DSP/html/index.html"><span>DSP</span></a></li>
      <li><a href="../../RTOS/html/index.html"><span>RTOS API</span></a></li>
      <li class="current"><a href="../../SVD/html/index.html"><span>SVD</span></a></li>
    </ul>
</div>
<!-- Generated by Doxygen 1.8.3.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="pages.html"><span>Usage&#160;and&#160;Description</span></a></li>
      <li><a href="modules.html"><span>Reference</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('svd__outline_pg.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">SVD File Description </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>The CMSIS-SVD format is based on XML. The specification of the System View Description format was influenced by IP-XACT, a design description format used in, for example, IP stitching and IP reuse. Due to the much wider scope and complexity of IP-XACT it was decided to specify a separate format, which is focused and tailored toward the description of the programmer's view of a device only.</p>
<p><b>CMSIS-SVD XML Hierarchy</b></p>
<div class="image">
<img src="CMSIS_SVD_Schema_Gen.png" alt="CMSIS_SVD_Schema_Gen.png"/>
<div class="caption">
CMSIS-SVD Hierarchy Levels</div></div>
<p> One CMSIS-SVD file contains the description of a single device. A device consists of a processor and at least one peripheral. Each peripheral contains at least one register. A register may consist of one or more fields. The range of values for a field may be further described with enumerated values.</p>
<ul>
<li><b>Device Level:</b> The top level of a System View Description is the device. On this level, information is captured that is specific to the device as a whole. For example, the device name, description, or version. The minimal addressable unit as well as the bit-width of the data bus are required by the debugger to perform the correct target accesses.<br/>
 <br/>
Default values for register attributes like register size, reset value, and access permissions can be set for the whole device on this level and are implicitly inherited by the lower levels of the description. If however specified on a lower level, the default setting from a higher level will get overruled.</li>
</ul>
<ul>
<li><b>Peripherals Level:</b> A peripheral is a named collection of registers. A peripheral is mapped to a defined <em>base address</em> within the device's address space. A peripheral allocates one or more exclusive address blocks relative to its base address, such that all described registers fit into the allocated address blocks. Allocated addresses without an associated register description are automatically considered reserved. The peripheral can be assigned to a group of peripherals and may be associated with one or more interrupts.</li>
</ul>
<ul>
<li><b>Registers Level:</b> A register is a named, programmable resource that belongs to a peripheral. Registers are mapped to a defined address in the address space of the device. An address is specified relative to the peripheral base address. The description of a register documents the purpose and function of the resource. A debugger requires information about the permitted access to a resource as well as side effects triggered by read and write accesses respectively.</li>
</ul>
<ul>
<li><b>Fields Level:</b> Registers may be partitioned into chunks of bits of distinct functionality. A chunk is referred to as <em>field</em>. The field names within a single register must be unique. Only architecturally defined fields shall be described. Any bits not being explicitly described are treated as reserved. They are not displayed in the System Viewer and are padded in the bit fields of the device header file. The case-insensitive field named <b>"reserved"</b> is treated as a keyword and each field with this name is ignored.</li>
</ul>
<ul>
<li><b>Enumerated Values Level:</b> An enumeration maps an unsigned integer constant to a descriptive identifier and, optionally, to a description string. Enumerations are used in C to enhance the readability of source code. Similarly, it can be used by debuggers to provide more instructive information to the programmer, avoiding a lookup in the device documentation.</li>
</ul>
<ul>
<li><b>Vendor Extensions:</b> The CMSIS-SVD format includes a section named <em>vendorExtensions</em> positioned after the closing tag <em>peripherals</em>. This allows silicon vendors and tool partners to innovate and expand the description beyond the current specification.</li>
</ul>
<p><b>Multiple Instantiation</b></p>
<p>CMSIS-SVD supports the reuse of whole sections of the description. The attribute <em>derivedFrom</em> for the peripheral-, register-, and field-section specifies the source of the section to be copied from. Individual tags can be used to redefine specific elements within a copied section. In case the name of the description source is not unique, the name needs to be qualified hierarchically until the element composite name becomes unique. Hierarchies are separated by a dot. For example, <em>&lt;peripheral name&gt;.&lt;register name&gt;.&lt;field name&gt;</em>.</p>
<p><b>Peripheral Grouping</b></p>
<p>Peripherals that provide similar functionality (Simple Timer, Complex Timer) can be grouped with the element <em>groupName</em>. All peripherals associated with the same group name are collectively listed under this group in the order they have been specified in the file. Collecting similar or related peripherals into peripheral groups helps structuring the list of peripherals in the debugger.</p>
<p><b>Descriptions</b></p>
<p>On each level, the tag <em>description</em> provides verbose information about the respective element. The description field plays an important part in improving the software development productivity as it gives instant access to information that otherwise would need to be looked up in the device documentation. </p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="index.html">System View Description</a></li>
    <li class="footer">Generated on Mon Mar 18 2013 13:38:02 for CMSIS-SVD by ARM Ltd. All rights reserved.
	<!--
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.3.1 
	-->
	</li>
  </ul>
</div>
</body>
</html>