]> begriffs open source - cmsis/blob - main/Core_A/using_pg.html
Update main branch documentation
[cmsis] / main / Core_A / using_pg.html
1 <!-- HTML header for doxygen 1.9.6-->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
4 <head>
5 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6 <meta http-equiv="X-UA-Compatible" content="IE=11"/>
7 <meta name="viewport" content="width=device-width, initial-scale=1"/>
8 <title>CMSIS-Core (Cortex-A): Using CMSIS in Embedded Applications</title>
9 <link href="doxygen.css" rel="stylesheet" type="text/css"/>
10 <link href="tabs.css" rel="stylesheet" type="text/css"/>
11 <link href="extra_navtree.css" rel="stylesheet" type="text/css"/>
12 <link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
13 <link href="extra_search.css" rel="stylesheet" type="text/css"/>
14 <script type="text/javascript" src="jquery.js"></script>
15 <script type="text/javascript" src="dynsections.js"></script>
16 <script type="text/javascript" src="printComponentTabs.js"></script>
17 <script type="text/javascript" src="footer.js"></script>
18 <script type="text/javascript" src="navtree.js"></script>
19 <link href="navtree.css" rel="stylesheet" type="text/css"/>
20 <script type="text/javascript" src="resize.js"></script>
21 <script type="text/javascript" src="navtreedata.js"></script>
22 <script type="text/javascript" src="navtree.js"></script>
23 <link href="search/search.css" rel="stylesheet" type="text/css"/>
24 <script type="text/javascript" src="search/searchdata.js"></script>
25 <script type="text/javascript" src="search/search.js"></script>
26 <script type="text/javascript">
27 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
28   $(document).ready(function() { init_search(); });
29 /* @license-end */
30 </script>
31 <script type="text/javascript" src="darkmode_toggle.js"></script>
32 <link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
33 <link href="extra_navtree.css" rel="stylesheet" type="text/css"/>
34 <link href="extra_search.css" rel="stylesheet" type="text/css"/>
35 <link href="version.css" rel="stylesheet" type="text/css" />
36 <script type="text/javascript" src="../../version.js"></script>
37 </head>
38 <body>
39 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
40 <div id="titlearea">
41 <table cellspacing="0" cellpadding="0">
42  <tbody>
43  <tr style="height: 55px;">
44   <td id="projectlogo" style="padding: 1.5em;"><img alt="Logo" src="cmsis_logo_white_small.png"/></td>
45   <td style="padding-left: 1em; padding-bottom: 1em;padding-top: 1em;">
46    <div id="projectname">CMSIS-Core (Cortex-A)
47    &#160;<span id="projectnumber"><script type="text/javascript">
48      <!--
49      writeHeader.call(this);
50      writeVersionDropdown.call(this, "CMSIS-Core (Cortex-A)");
51      //-->
52     </script>
53    </span>
54    </div>
55    <div id="projectbrief">CMSIS-Core support for Cortex-A processor-based devices</div>
56   </td>
57    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
58         <span class="left">
59           <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
60           <input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
61                onfocus="searchBox.OnSearchFieldFocus(true)" 
62                onblur="searchBox.OnSearchFieldFocus(false)" 
63                onkeyup="searchBox.OnSearchFieldChange(event)"/>
64           </span><span class="right">
65             <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
66           </span>
67         </div>
68 </td>
69   <!--END !PROJECT_NAME-->
70  </tr>
71  </tbody>
72 </table>
73 </div>
74 <!-- end header part -->
75 <div id="CMSISnav" class="tabs1">
76   <ul class="tablist">
77     <script type="text/javascript">
78       writeComponentTabs.call(this);
79     </script>
80   </ul>
81 </div>
82 <script type="text/javascript">
83   writeSubComponentTabs.call(this);
84 </script>
85 <!-- Generated by Doxygen 1.9.6 -->
86 <script type="text/javascript">
87 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
88 var searchBox = new SearchBox("searchBox", "search/",'.html');
89 /* @license-end */
90 </script>
91 </div><!-- top -->
92 <div id="side-nav" class="ui-resizable side-nav-resizable">
93   <div id="nav-tree">
94     <div id="nav-tree-contents">
95       <div id="nav-sync" class="sync"></div>
96     </div>
97   </div>
98   <div id="splitbar" style="-moz-user-select:none;" 
99        class="ui-resizable-handle">
100   </div>
101 </div>
102 <script type="text/javascript">
103 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
104 $(document).ready(function(){initNavTree('using_pg.html',''); initResizable(); });
105 /* @license-end */
106 </script>
107 <div id="doc-content">
108 <!-- window showing the filter options -->
109 <div id="MSearchSelectWindow"
110      onmouseover="return searchBox.OnSearchSelectShow()"
111      onmouseout="return searchBox.OnSearchSelectHide()"
112      onkeydown="return searchBox.OnSearchSelectKey(event)">
113 </div>
114
115 <!-- iframe showing the search results (closed by default) -->
116 <div id="MSearchResultsWindow">
117 <div id="MSearchResults">
118 <div class="SRPage">
119 <div id="SRIndex">
120 <div id="SRResults"></div>
121 <div class="SRStatus" id="Loading">Loading...</div>
122 <div class="SRStatus" id="Searching">Searching...</div>
123 <div class="SRStatus" id="NoMatches">No Matches</div>
124 </div>
125 </div>
126 </div>
127 </div>
128
129 <div><div class="header">
130   <div class="headertitle"><div class="title">Using CMSIS in Embedded Applications </div></div>
131 </div><!--header-->
132 <div class="contents">
133 <div class="textblock"><p><a class="anchor" id="md_src_using"></a> To use the CMSIS-Core-A the following files are added to the embedded application:</p><ul>
134 <li><a class="el" href="startup_c_pg.html">Startup File startup_&lt;Device&gt;.c</a> with reset handler and exception vectors.</li>
135 <li><a class="el" href="system_c_pg.html">System Configuration Files system_&lt;Device&gt;.c and system_&lt;Device&gt;.h</a> with general device configuration (i.e. for clock and bus setup).</li>
136 <li><a class="el" href="device_h_pg.html">Device Header File &lt;Device.h&gt;</a> gives access to processor core and all peripherals.</li>
137 <li><a class="el" href="mem_h_pg.html">Memory Configuration Files mem_&lt;device&gt;.h</a> contains basic memory configurations.</li>
138 <li><a class="el" href="mmu_c_pg.html">Memory Management Unit Files mmu_&lt;device&gt;.c</a> contains the memory management unit setup.</li>
139 </ul>
140 <blockquote class="doxtable">
141 <p>&zwj;<b>Note</b></p><ul>
142 <li>The files <a class="el" href="startup_c_pg.html">Startup File startup_&lt;Device&gt;.c</a>, <a class="el" href="system_c_pg.html">System Configuration Files system_&lt;Device&gt;.c and system_&lt;Device&gt;.h</a>, <a class="el" href="mem_h_pg.html">Memory Configuration Files mem_&lt;device&gt;.h</a>, and <a class="el" href="mmu_c_pg.html">Memory Management Unit Files mmu_&lt;device&gt;.c</a> may require application specific adaptations and therefore should be copied into the application project folder prior configuration. The <a class="el" href="device_h_pg.html">Device Header File &lt;Device.h&gt;</a> is included in all source files that need device access and can be stored on a central include folder that is generic for all projects. </li>
143 </ul>
144 </blockquote>
145 <p>The <code>Reset_Handler</code> defined in <a class="el" href="startup_c_pg.html">Startup File startup_&lt;Device&gt;.c</a> is executed after reset. The default initialization sequence is</p><ul>
146 <li>set the vector base address register (<a class="el" href="group__CMSIS__VBAR.html#ga582f9a60f7b090ae5a4e8f60ef3b79f8">__set_VBAR</a>),</li>
147 <li>set stacks for each exception mode (<a class="el" href="cmsis__armclang__a_8h.html#a7ad5710bc622794ffed1d31740f6be55">__set_mode</a>, <a class="el" href="group__CMSIS__SP.html#ga6d25d5770874bf1c824f892739bfdf41">__set_SP</a>),</li>
148 <li>call <a class="el" href="group__system__init__gr.html#ga93f514700ccf00d08dbdcff7f1224eb2">SystemInit</a>.</li>
149 </ul>
150 <p>After the system initialization control is transferred to the C/C++ run-time library which performs initialization and calls the <b>main</b> function in the user code. In addition the <a class="el" href="startup_c_pg.html">Startup File startup_&lt;Device&gt;.c</a> contains a weak default handler implementation for every exception. It may also contain stack and heap configurations for the user application.</p>
151 <p>The <a class="el" href="system_c_pg.html">System Configuration Files system_&lt;Device&gt;.c and system_&lt;Device&gt;.h</a> performs the setup for the processor clock and the initialization of memory caches, memory management unit, generic interrupt interface and floating point unit. The variable <a class="el" href="group__system__init__gr.html#gaa3cd3e43291e81e795d642b79b6088e6">SystemCoreClock</a> indicates the CPU clock speed. <a class="el" href="group__system__init__gr.html">System and Clock Configuration</a> describes the minimum feature set. In addition the file may contain functions for the memory bus setup and clock re-configuration.</p>
152 <p>The <a class="el" href="device_h_pg.html">Device Header File &lt;Device.h&gt;</a> is the central include file that the application programmer is using in the C/C++ source code. It provides the following features:</p><ul>
153 <li><a class="el" href="group__peripheral__gr.html">Peripheral Access</a> provides a standardized register layout for all peripherals. Optionally functions for device-specific peripherals may be available.</li>
154 <li><a class="el" href="group__GIC__functions.html">Generic Interrupt Controller Functions</a> can be accessed with standardized symbols and functions for the General Interrupt Controller (GIC) are provided.</li>
155 <li><a class="el" href="group__CMSIS__Core__InstructionInterface.html">Intrinsic Functions</a> allow to access special instructions, for example for activating sleep mode or the NOP instruction.</li>
156 <li><a class="el" href="group__PL1__timer__functions.html">Generic</a> and <a class="el" href="group__PTM__timer__functions.html">Private</a> Timer functions to configure and start a periodic timer interrupt.</li>
157 <li><a class="el" href="group__L1__cache__functions.html">Level 1</a> and <a class="el" href="group__L2__cache__functions.html">Level 2</a> Cache controller functions to enable, disable, clean and invalidate caches.</li>
158 </ul>
159 <p>The use of <a class="el" href="device_h_pg.html">Device Header File &lt;Device.h&gt;</a> can be abstracted with the <code>#define CMSIS_header_file</code> provided in <a href="https://open-cmsis-pack.github.io/Open-CMSIS-Pack-Spec/main/html/cp_Packs.html#cp_RTECompH">RTE_Components.h</a>. This allows to have uniform include code in the application independent of the target device.</p>
160 <div class="fragment"><div class="line"><span class="preprocessor">#include &quot;RTE_Components.h&quot;</span>                      <span class="comment">// include information about project configuration</span></div>
161 <div class="line"><span class="preprocessor">#include CMSIS_device_header                     </span><span class="comment">// include &lt;Device&gt;.h file</span></div>
162 </div><!-- fragment --><div class="image">
163 <img src="CMSIS_CORE_A_Files_user.png" alt=""/>
164 <div class="caption">
165 CMSIS-Core-A User Files</div></div>
166     <p>The CMSIS-Core-A user files are device specific. In addition, the <a class="el" href="startup_c_pg.html">Startup File startup_&lt;Device&gt;.c</a> is also compiler vendor specific. The various compiler vendor tool chains may provide folders that contain the CMSIS files for each supported device.</p>
167 <blockquote class="doxtable">
168 <p>&zwj;<b>Note</b></p><ul>
169 <li>The silicon vendors create these device-specific CMSIS-Core-A files based on <a class="el" href="templates_pg.html">CMSIS-Core Device Templates</a> provide by Arm. </li>
170 </ul>
171 </blockquote>
172 <p>Thereafter, the functions described under <a href="modules.html">API Reference</a> can be used in the application.</p>
173 <p><b>Examples:</b></p><ul>
174 <li><a class="el" href="using_pg.html#using_CMSIS">CMSIS Basic Example</a> is a simple example that shows the usage of the CMSIS layer.</li>
175 <li><a class="el" href="using_pg.html#using_ARM_pg">Using CMSIS with generic Arm Processors</a> explains how to use CMSIS-Core-M for Arm processors.</li>
176 </ul>
177 <h1><a class="anchor" id="using_CMSIS"></a>
178 CMSIS Basic Example</h1>
179 <p>A typical example for using the CMSIS layer is provided below. The example is based on an unspecific Cortex-A9 Device.</p>
180 <div class="fragment"><div class="line"><span class="preprocessor">#include &lt;ARMCA9.h&gt;</span>                              <span class="comment">// File name depends on device used</span></div>
181 <div class="line"> </div>
182 <div class="line"><span class="keyword">static</span> <span class="keyword">const</span> uint32_t TICK_RATE_HZ = 1000U;</div>
183 <div class="line"> </div>
184 <div class="line">uint32_t <span class="keyword">volatile</span> msTicks;                       <span class="comment">// Counter for millisecond Interval</span></div>
185 <div class="line"> </div>
186 <div class="line"><span class="keyword">static</span> <span class="keywordtype">void</span> SysTick_Handler( <span class="keywordtype">void</span> )</div>
187 <div class="line">{</div>
188 <div class="line">  msTicks++;                                     <span class="comment">// Increment Counter</span></div>
189 <div class="line">}</div>
190 <div class="line"> </div>
191 <div class="line"><span class="comment">// We use the Private Tiemer (PTIM) of the Cortex-A9 FVP Model here.</span></div>
192 <div class="line"><span class="comment">// In general the available Timers are highly vendor specific for Cortex-A processors.</span></div>
193 <div class="line"><span class="keywordtype">void</span> private_timer_init(<span class="keywordtype">void</span>) {</div>
194 <div class="line"> </div>
195 <div class="line">  <a class="code hl_function" href="group__PTM__timer__functions.html#ga30516fed24977be8eecf3efd8b6a2fea">PTIM_SetLoadValue</a> ((<a class="code hl_variable" href="group__system__init__gr.html#gaa3cd3e43291e81e795d642b79b6088e6">SystemCoreClock</a>/TICK_RATE_HZ) - 1U);</div>
196 <div class="line">  <a class="code hl_function" href="group__PTM__timer__functions.html#gaabc1dba029389fe0e2a6297952df7972">PTIM_SetControl</a> (<a class="code hl_function" href="group__PTM__timer__functions.html#ga34f0ceea142a4be1479cb552bf8bc4d1">PTIM_GetControl</a>() | 7U);</div>
197 <div class="line"> </div>
198 <div class="line">  <span class="comment">/* Install SysTick_Handler as the interrupt function for PTIM */</span></div>
199 <div class="line">  <a class="code hl_function" href="group__irq__ctrl__gr.html#gac1fcc16fb8e488d315cfa496f1d71db3">IRQ_SetHandler</a>((<a class="code hl_typedef" href="irq__ctrl_8h.html#ac62964c04a7fed2c84aeea9e34f415e2">IRQn_ID_t</a>)PrivTimer_IRQn, SysTick_Handler);</div>
200 <div class="line"> </div>
201 <div class="line">  <span class="comment">/* Determine number of implemented priority bits */</span></div>
202 <div class="line">  <a class="code hl_function" href="group__irq__ctrl__gr.html#gaa90aed20ac94420fff4bbbf55c12d4c2">IRQ_SetPriority</a> ((<a class="code hl_typedef" href="irq__ctrl_8h.html#ac62964c04a7fed2c84aeea9e34f415e2">IRQn_ID_t</a>)PrivTimer_IRQn, <a class="code hl_define" href="group__irq__priority__defs.html#gabaa4e91ab84dbe5f669080af6d0d81fa">IRQ_PRIORITY_Msk</a>);</div>
203 <div class="line"> </div>
204 <div class="line">  <span class="comment">/* Set lowest priority -1 */</span></div>
205 <div class="line">  <a class="code hl_function" href="group__irq__ctrl__gr.html#gaa90aed20ac94420fff4bbbf55c12d4c2">IRQ_SetPriority</a> ((<a class="code hl_typedef" href="irq__ctrl_8h.html#ac62964c04a7fed2c84aeea9e34f415e2">IRQn_ID_t</a>)PrivTimer_IRQn, <a class="code hl_function" href="group__GIC__functions.html#ga397048004654f792649742f95bf8ae67">GIC_GetPriority</a>((<a class="code hl_typedef" href="irq__ctrl_8h.html#ac62964c04a7fed2c84aeea9e34f415e2">IRQn_ID_t</a>)PrivTimer_IRQn)-1);</div>
206 <div class="line"> </div>
207 <div class="line">  <span class="comment">/* Enable IRQ */</span></div>
208 <div class="line">  <a class="code hl_function" href="group__irq__ctrl__gr.html#ga4ad780a3dc23a1b6222de8adcd7c20a7">IRQ_Enable</a> ((<a class="code hl_typedef" href="irq__ctrl_8h.html#ac62964c04a7fed2c84aeea9e34f415e2">IRQn_ID_t</a>)PrivTimer_IRQn);</div>
209 <div class="line">}</div>
210 <div class="line"> </div>
211 <div class="line"><span class="comment">/* Delay execution for given amount of ticks */</span></div>
212 <div class="line"><span class="keywordtype">void</span> Delay(uint32_t ticks)  {</div>
213 <div class="line">  uint32_t tgtTicks = msTicks + ticks;             <span class="comment">// target tick count to delay execution to</span></div>
214 <div class="line">  <span class="keywordflow">while</span> (msTicks == tgtTicks)  {</div>
215 <div class="line">    <a class="code hl_define" href="group__CMSIS__Core__InstructionInterface.html#gaac6cc7dd4325d9cb40d3290fa5244b3d">__WFE</a> ();                                      <span class="comment">// Power-Down until next Event/Interrupt</span></div>
216 <div class="line">  }</div>
217 <div class="line">}</div>
218 <div class="line"> </div>
219 <div class="line"><span class="comment">/* main function */</span></div>
220 <div class="line"><span class="keywordtype">int</span> main(<span class="keywordtype">void</span>)</div>
221 <div class="line">{</div>
222 <div class="line">  <span class="comment">/* Initialize device HAL here */</span></div>
223 <div class="line">  private_timer_init();</div>
224 <div class="line"> </div>
225 <div class="line">  <span class="keyword">static</span> uint8_t ledState = 0;</div>
226 <div class="line"> </div>
227 <div class="line">  <span class="comment">/* Infinite loop */</span></div>
228 <div class="line">  <span class="keywordflow">while</span> (1)</div>
229 <div class="line">  {</div>
230 <div class="line">    <span class="comment">/* Add application code here */</span></div>
231 <div class="line">    ledState = !ledState;</div>
232 <div class="line">    Delay(500);</div>
233 <div class="line">  }</div>
234 <div class="line">}</div>
235 <div class="ttc" id="agroup__CMSIS__Core__InstructionInterface_html_gaac6cc7dd4325d9cb40d3290fa5244b3d"><div class="ttname"><a href="group__CMSIS__Core__InstructionInterface.html#gaac6cc7dd4325d9cb40d3290fa5244b3d">__WFE</a></div><div class="ttdeci">#define __WFE</div><div class="ttdoc">Wait For Event.</div></div>
236 <div class="ttc" id="agroup__GIC__functions_html_ga397048004654f792649742f95bf8ae67"><div class="ttname"><a href="group__GIC__functions.html#ga397048004654f792649742f95bf8ae67">GIC_GetPriority</a></div><div class="ttdeci">__STATIC_INLINE uint32_t GIC_GetPriority(IRQn_Type IRQn)</div><div class="ttdoc">Read the current interrupt priority from GIC's IPRIORITYR register.</div><div class="ttdef"><b>Definition:</b> core_ca.h:1675</div></div>
237 <div class="ttc" id="agroup__PTM__timer__functions_html_ga30516fed24977be8eecf3efd8b6a2fea"><div class="ttname"><a href="group__PTM__timer__functions.html#ga30516fed24977be8eecf3efd8b6a2fea">PTIM_SetLoadValue</a></div><div class="ttdeci">__STATIC_INLINE void PTIM_SetLoadValue(uint32_t value)</div><div class="ttdoc">Set the load value to timers LOAD register.</div><div class="ttdef"><b>Definition:</b> core_ca.h:1957</div></div>
238 <div class="ttc" id="agroup__PTM__timer__functions_html_ga34f0ceea142a4be1479cb552bf8bc4d1"><div class="ttname"><a href="group__PTM__timer__functions.html#ga34f0ceea142a4be1479cb552bf8bc4d1">PTIM_GetControl</a></div><div class="ttdeci">__STATIC_INLINE uint32_t PTIM_GetControl(void)</div><div class="ttdef"><b>Definition:</b> core_ca.h:1996</div></div>
239 <div class="ttc" id="agroup__PTM__timer__functions_html_gaabc1dba029389fe0e2a6297952df7972"><div class="ttname"><a href="group__PTM__timer__functions.html#gaabc1dba029389fe0e2a6297952df7972">PTIM_SetControl</a></div><div class="ttdeci">__STATIC_INLINE void PTIM_SetControl(uint32_t value)</div><div class="ttdoc">Configure the timer using its CONTROL register.</div><div class="ttdef"><b>Definition:</b> core_ca.h:1988</div></div>
240 <div class="ttc" id="agroup__irq__ctrl__gr_html_ga4ad780a3dc23a1b6222de8adcd7c20a7"><div class="ttname"><a href="group__irq__ctrl__gr.html#ga4ad780a3dc23a1b6222de8adcd7c20a7">IRQ_Enable</a></div><div class="ttdeci">int32_t IRQ_Enable(IRQn_ID_t irqn)</div><div class="ttdoc">Enable interrupt.</div></div>
241 <div class="ttc" id="agroup__irq__ctrl__gr_html_gaa90aed20ac94420fff4bbbf55c12d4c2"><div class="ttname"><a href="group__irq__ctrl__gr.html#gaa90aed20ac94420fff4bbbf55c12d4c2">IRQ_SetPriority</a></div><div class="ttdeci">int32_t IRQ_SetPriority(IRQn_ID_t irqn, uint32_t priority)</div><div class="ttdoc">Set interrupt priority value.</div></div>
242 <div class="ttc" id="agroup__irq__ctrl__gr_html_gac1fcc16fb8e488d315cfa496f1d71db3"><div class="ttname"><a href="group__irq__ctrl__gr.html#gac1fcc16fb8e488d315cfa496f1d71db3">IRQ_SetHandler</a></div><div class="ttdeci">int32_t IRQ_SetHandler(IRQn_ID_t irqn, IRQHandler_t handler)</div><div class="ttdoc">Register interrupt handler.</div></div>
243 <div class="ttc" id="agroup__irq__priority__defs_html_gabaa4e91ab84dbe5f669080af6d0d81fa"><div class="ttname"><a href="group__irq__priority__defs.html#gabaa4e91ab84dbe5f669080af6d0d81fa">IRQ_PRIORITY_Msk</a></div><div class="ttdeci">#define IRQ_PRIORITY_Msk</div><div class="ttdoc">Interrupt priority value bit-mask.</div></div>
244 <div class="ttc" id="agroup__system__init__gr_html_gaa3cd3e43291e81e795d642b79b6088e6"><div class="ttname"><a href="group__system__init__gr.html#gaa3cd3e43291e81e795d642b79b6088e6">SystemCoreClock</a></div><div class="ttdeci">uint32_t SystemCoreClock</div><div class="ttdoc">Variable to hold the system core clock value.</div><div class="ttdef"><b>Definition:</b> Ref_SystemAndClock.txt:67</div></div>
245 <div class="ttc" id="airq__ctrl_8h_html_ac62964c04a7fed2c84aeea9e34f415e2"><div class="ttname"><a href="irq__ctrl_8h.html#ac62964c04a7fed2c84aeea9e34f415e2">IRQn_ID_t</a></div><div class="ttdeci">int32_t IRQn_ID_t</div><div class="ttdoc">Interrupt ID number data type.</div><div class="ttdef"><b>Definition:</b> irq_ctrl.h:45</div></div>
246 </div><!-- fragment --><h1><a class="anchor" id="using_ARM_pg"></a>
247 Using CMSIS with generic Arm Processors</h1>
248 <p>The <a href="https://github.com/ARM-software/Cortex_DFP">Cortex_DFP pack</a> provides generic device definitions for standard Arm Cortex-A cores and contains corresponding. These generic Arm devices can be used as a target for embedded programs, with execution, for example, on processor simulation models. </p>
249 </div></div><!-- contents -->
250 </div><!-- PageDoc -->
251 </div><!-- doc-content -->
252 <!-- start footer part -->
253 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
254   <ul>
255     <li class="footer">
256       <script type="text/javascript">
257         <!--
258         writeFooter.call(this);
259         //-->
260       </script> 
261     </li>
262   </ul>
263 </div>
264 </body>
265 </html>