diff options
author | rihab kouki <rihab.kouki@st.com> | 2020-07-28 11:24:49 +0100 |
---|---|---|
committer | rihab kouki <rihab.kouki@st.com> | 2020-07-28 11:24:49 +0100 |
commit | 96d6da4e252b06dcfdc041e7df23e86161c33007 (patch) | |
tree | a262f59bb1db7ec7819acae435f5049cbe5e2354 /docs/Core/html/using_CMSIS.html | |
parent | 9f95ff5b6ba01db09552b84a0ab79607060a2666 (diff) | |
download | st-cmsis-core-lowfat-master.tar.gz st-cmsis-core-lowfat-master.tar.bz2 st-cmsis-core-lowfat-master.zip |
Diffstat (limited to 'docs/Core/html/using_CMSIS.html')
-rw-r--r-- | docs/Core/html/using_CMSIS.html | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/Core/html/using_CMSIS.html b/docs/Core/html/using_CMSIS.html index dbd6688..1a7f0b0 100644 --- a/docs/Core/html/using_CMSIS.html +++ b/docs/Core/html/using_CMSIS.html @@ -32,7 +32,7 @@ <td id="projectlogo"><img alt="Logo" src="CMSIS_Logo_Final.png"/></td> <td style="padding-left: 0.5em;"> <div id="projectname">CMSIS-Core (Cortex-M) -  <span id="projectnumber">Version 5.1.2</span> +  <span id="projectnumber">Version 5.3.0</span> </div> <div id="projectbrief">CMSIS-Core support for Cortex-M processor-based devices</div> </td> @@ -148,7 +148,7 @@ $(document).ready(function(){initNavTree('using_CMSIS.html','');}); <div class="line"> </div> <div class="line"> </div> <div class="line"><span class="comment">// The processor clock is initialized by CMSIS startup + system file</span></div> -<div class="line"><span class="keywordtype">void</span> main (<span class="keywordtype">void</span>) { <span class="comment">// user application starts here</span></div> +<div class="line"><span class="keywordtype">void</span> main (<span class="keywordtype">void</span>) { <span class="comment">// user application starts here</span></div> <div class="line"> Device_Initialization (); <span class="comment">// Configure & Initialize MCU</span></div> <div class="line"> <span class="keywordflow">while</span> (1) { <span class="comment">// Endless Loop (the Super-Loop)</span></div> <div class="line"> <a class="code" href="group__Core__Register__gr.html#gaeb8e5f7564a8ea23678fe3c987b04013">__disable_irq</a> (); <span class="comment">// Disable all interrupts</span></div> @@ -159,13 +159,16 @@ $(document).ready(function(){initNavTree('using_CMSIS.html','');}); <div class="line"> WaitForTick (); <span class="comment">// Synchronize to SysTick Timer</span></div> <div class="line"> }</div> <div class="line">}</div> +</div><!-- fragment --><p>CMSIS-Pack provides the <b>#define CMSIS_header_file</b> in <a href="../../Pack/html/pdsc_components_pg.html#RTE_Components_h"><b>RTE_Components.h</b></a> which gives you access to the <b><em>device</em>.h</b> file of a project. This allows you to generate generic software components that use the device selected in a project.</p> +<div class="fragment"><div class="line"><span class="preprocessor">#include "RTE_Components.h"</span> <span class="comment">// include information about project configuration</span></div> +<div class="line"><span class="preprocessor">#include CMSIS_device_header // include <device>.h file</span></div> </div><!-- fragment --> </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="using_pg.html">Using CMSIS in Embedded Applications</a></li> - <li class="footer">Generated on Wed Aug 1 2018 17:12:08 for CMSIS-Core (Cortex-M) by Arm Ltd. All rights reserved. + <li class="footer">Generated on Wed Jul 10 2019 15:20:25 for CMSIS-Core (Cortex-M) Version 5.3.0 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.6 |