]> begriffs open source - cmsis/blob - CMSIS/DoxyGen/General/src/introduction.txt
Adding Device folder containing CMSIS Core Device Vendor files templates
[cmsis] / CMSIS / DoxyGen / General / src / introduction.txt
1 /**************************************************************************************************/\r
2 /** \r
3 \mainpage Introduction\r
4 \r
5 The <b>Cortex Microcontroller Software Interface Standard</b> (CMSIS) is a vendor-independent \r
6 hardware abstraction layer for the Cortex&reg;-M processor series and defines generic tool\r
7 interfaces.  The CMSIS enables consistent device support and \r
8 simple software interfaces to the processor and the peripherals, simplifying software re-use, \r
9 reducing the learning curve for microcontroller developers, and reducing the time to market for new devices. \r
10     \r
11 The CMSIS is defined in close cooperation with various silicon and software vendors and \r
12 provides a common approach to interface to peripherals, real-time operating systems, \r
13 and middleware components. The CMSIS is intended to enable the combination of software components \r
14 from multiple middleware vendors. \r
15 \r
16 CMSIS Version 5 supports also the <a href="http://www.arm.com/products/processors/instruction-set-architectures/armv8-m-architecture.php" target="_blank"><b>ARMv8-M architecture</b></a> \r
17 including ARM TrustZone&reg; hardware security extensions.\r
18 \r
19 \anchor CM_Components\r
20 The CMSIS components are:\r
21  - <a href="../../Core/html/index.html"><b>CMSIS-CORE</b></a>: API for the Cortex-M processor core and peripherals. It provides at standardized interface for Cortex-M0, Cortex-M3, Cortex-M4, Cortex-M7, SC000, and SC300. \r
22    Included are also SIMD intrinsic functions for Cortex-M4 and Cortex-M7 SIMD instructions.\r
23 \r
24  - <a href="../../Driver/html/index.html"><b>CMSIS-Driver</b></a>: defines generic peripheral driver interfaces for middleware making it reusable across supported devices. The API is RTOS independent\r
25     and connects microcontroller peripherals with middleware that implements for example communication stacks, file systems, or graphic user interfaces.\r
26 \r
27  - <a href="../../DSP/html/index.html"><b>CMSIS-DSP</b></a>: DSP Library Collection with over 60 Functions for various data types: fix-point (fractional q7, q15, q31) and single precision floating-point (32-bit).\r
28    The library is available for all Cortex-M cores. The Cortex-M4 and Cortex-M7 implementations are optimized for the SIMD instruction set.\r
29 \r
30  - <a href="../../RTOS/html/index.html"><b>CMSIS-RTOS API</b></a>: Common API for Real-Time operating systems. It provides a standardized programming interface that is portable to many RTOS and enables therefore \r
31     software templates, middleware, libraries, and other components that can work across supported the RTOS systems.\r
32 \r
33  - <a href="../../Pack/html/index.html"><b>CMSIS-Pack</b></a>: describes with a XML based package description (PDSC) file the user and device relevant parts of a file collection (called software pack) that includes source, header, and library files, documentation, \r
34     Flash programming algorithms, source code templates, and example projects. Development tools and web infrastructures use the PDSC file to extract device parameters, \r
35     software components, and evaluation board configurations.\r
36 \r
37  - <a href="../../SVD/html/index.html"><b>CMSIS-SVD</b></a>: System View Description for Peripherals. Describes the peripherals of a device in an XML file and can be used to create peripheral awareness in \r
38     debuggers or header files with peripheral register and interrupt definitions.\r
39 \r
40  - <a href="../../DAP/html/index.html"><b>CMSIS-DAP</b></a>: Debug Access Port. Standardized firmware for a Debug Unit that connects to the CoreSight Debug Access Port. CMSIS-DAP is distributed as separate package and\r
41     well suited for integration on evaluation boards. This component is provided as separate download.\r
42 \r
43 \note Refer to \ref CM_Pack_Content for more information on the content of the Software Pack.\r
44 \r
45 \image html CMSISv4_small.png "CMSIS Structure"\r
46         \r
47 \section Motivation Motivation\r
48 \r
49 CMSIS has been created to help the industry in standardization. It enables consistent software layers and device support across a wide range of development tools and microcontrollers.\r
50 CMSIS is not a huge software layer that introduces overhead and does not define standard peripherals. The silicon industry can\r
51 therefore support the wide variations of Cortex-M processor-based devices with this common standard.\r
52 \r
53 In detail the benefits of the CMSIS are:\r
54 \r
55  - Overall CMSIS reduces the learning curve, development costs, and time-to-market. Developers can write software quicker through a variety of easy-to-use, standardized software interfaces.\r
56  - Consistent software interfaces improve the software portability and re-usability. Generic software libraries and interfaces provide consistent software framework.\r
57  - Provides interfaces for debug connectivity, debug peripheral views, software delivery, and device support to reduce time-to-market for new microcontroller deployment.\r
58  - Provides a compiler independent layer that allows using different compilers. CMSIS is supported by all mainstream compilers (ARMCC, IAR, and GNU).\r
59  - Enhances program debugging with peripheral information for debuggers and ITM channels for printf-style output and RTOS kernel awareness. \r
60  - CMSIS is delivered in CMSIS-Pack format which enables fast software delivery, simplifies updates, and enables consistent integration into development tools. \r
61 \r
62 \r
63 \section CodingRules Coding Rules\r
64 \r
65 The CMSIS uses the following essential coding rules and conventions:\r
66  - Compliant with ANSI C and C++.\r
67  - Uses ANSI C standard data types defined in \b <stdint.h>.\r
68  - Variables and parameters have a complete data type.\r
69  - Expressions for \em \#define constants are enclosed in parenthesis.\r
70  - Conforms to MISRA 2004. MISRA rule violations are documented.\r
71           \r
72 In addition, the CMSIS recommends the following conventions for identifiers:\r
73  - \b CAPITAL names to identify Core Registers, Peripheral Registers, and CPU Instructions.\r
74  - \b CamelCase names to identify function names and interrupt functions.\r
75  - \b Namespace_ prefixes avoid clashes with user identifiers and provide functional groups (i.e. for peripherals, RTOS, or DSP Library).\r
76 \r
77 The CMSIS is documented within the source files with:\r
78  \li Comments that use the C or C++ style. \r
79  \li Doxygen compliant <b>function comments</b> that provide:\r
80     - brief function overview.\r
81     - detailed description of the function.\r
82     - detailed parameter explanation.\r
83     - detailed information about return values.\r
84 \r
85 Doxygen comment example:\r
86 \verbatim\r
87 /** \r
88  * @brief  Enable Interrupt in NVIC Interrupt Controller\r
89  * @param  IRQn  interrupt number that specifies the interrupt\r
90  * @return none.\r
91  * Enable the specified interrupt in the NVIC Interrupt Controller.\r
92  * Other settings of the interrupt such as priority are not affected.\r
93  */\r
94 \endverbatim\r
95 \r
96 \r
97 \section License Licence\r
98 \r
99 The CMSIS is provided free of charge by ARM under Apache 2.0 license. \r
100 View the <a href="LICENSE">Apache 2.0 License</a>.\r
101 \r
102 \r
103 \section CM_Pack_Content ARM::CMSIS Pack\r
104 \r
105 The <b>ARM::CMSIS</b> Pack contains the following:\r
106 |File/Directory    |Content                                                                           |\r
107 |:-----------------|:---------------------------------------------------------------------------------|\r
108 |\b ARM.CMSIS.pdsc |Package description file                                                          |\r
109 |\b CMSIS          |\ref CM_Components "CMSIS components" (see below)                                 |\r
110 |\b CMSIS_RTX      |<a class=el href="http://www.keil.com/pack/doc/cmsis_rtx/index.html" target="_blank">Keil RTX</a> implementation of <a href="../../RTOS/html/index.html"><b>CMSIS-RTOS</b></a>|\r
111 |\b Device         |ARM reference implementations of Cortex-M devices                                 |\r
112 \r
113 CMSIS Directory\r
114 ---------------\r
115 \r
116 The directory <b>CMSIS</b> contains the  "CMSIS End User License Agreement" as PDF and RTF, a README text file, the\r
117 index.html file for this documentation, and the following sub-directories:\r
118 \r
119 |Directory                 |Content                                                                                                                                  |\r
120 |:-------------------------|:----------------------------------------------------------------------------------------------------------------------------------------|\r
121 |\b Documentation          |This documentation                                                                                                                       |\r
122 |\b DAP                    |<a href="../../DAP/html/index.html"><b>CMSIS-DAP</b></a> Debug Access Port source code and reference implementations                     |\r
123 |\b Driver                 |Header files for the <a href="../../Driver/html/index.html"><b>CMSIS-Driver</b></a> peripheral interface API                             |\r
124 |\b DSP_Lib                |<a href="../../DSP/html/index.html"><b>CMSIS-DSP</b></a> software library source code                                                    |\r
125 |\b Include                |Include files for <a href="../../Core/html/index.html"><b>CMSIS-CORE</b></a> and <a href="../../DSP/html/index.html"><b>CMSIS-DSP</b></a>|\r
126 |\b Lib                    |<a href="../../DSP/html/index.html"><b>CMSIS-DSP</b></a> generated libraries for ARMCC and GCC                                           |\r
127 |\b Pack                   |<a href="../../Pack/html/_pack__example.html"><b>CMSIS-Pack</b></a> example                                                              |\r
128 |\b RTOS                   |<a href="../../RTOS/html/index.html"><b>CMSIS-RTOS</b></a> API header file                                                               |\r
129 |\b SVD                    |<a href="../../SVD/html/index.html"><b>CMSIS-SVD</b></a> example                                                                         |\r
130 |\b UserCodeTemplates\\ARM |ITM_Retarget.c, CMSIS <a href="../../Core/html/group___i_t_m___debug__gr.html"><b>retarget output</b></a> to ITM Channel 0 template file |\r
131 |\b Utilities              |PACK.xsd (<a href="../../Pack/html/_pack__example.html"><b>CMSIS-Pack</b></a> schema file), PackChk.exe (checking tool for software packs), \n CMSIS-SVD.xsd (<a href="../../SVD/html/index.html"><b>CMSIS-SVD</b></a> schema file), SVDConv.exe (conversion tool for SVD files)|\r
132 \r
133 <hr>\r
134 */\r
135 \r
136 /*=======0=========1=========2=========3=========4=========5=========6=========7=========8=========9=========0=========1====*/\r
137 /**\r
138 \page CM_revisionHistory Revision History \r
139 \r
140 \r
141 The following table shows the overall high-level history of the various CMSIS releases.\r
142 In addition, each CMSIS component has its own release history:\r
143 \r
144 - <a href="../../Core/html/core_revision_history.html"><b>CORE Revision History</b></a>\r
145 - <a href="../../DAP/html/rev_hist_dap.html"><b>DAP Revision History</b></a>\r
146 - <a href="../../Driver/html/driver_revision_history.html"><b>Driver Revision History</b></a>\r
147 - <a href="../../DSP/html/_change_log_pg.html"><b>DSP Revision History (Change Log)</b></a>\r
148 - <a href="../../Pack/html/pack_revision_history.html"><b>Pack Revision History</b></a>\r
149 - <a href="../../RTOS/html/rtos_revision_history.html"><b>RTOS API Revision History</b></a>\r
150 - <a href="../../RTX/html/rtx_revision_history.html"><b>RTX Revision History</b></a>\r
151 - <a href="../../SVD/html/svd_revision_history.html"><b>SVD Revision History</b></a>\r
152 \r
153 \r
154 \r
155 <table class="cmtable" summary="Revision History">\r
156     <tr>\r
157       <th>Version</th>\r
158       <th>Description</th>\r
159     </tr>\r
160     <tr>\r
161       <td>5.0.0</td>\r
162       <td>\r
163         Added <a href="http://www.arm.com/products/processors/instruction-set-architectures/armv8-m-architecture.php" target="_blank"><b>ARMv8-M architecture</b></a> support.\r
164         - CMSIS-CORE 5.0.0\r
165       </td>\r
166     </tr>\r
167     <tr>\r
168       <td>4.5.0</td>\r
169       <td>\r
170         Maintenance release that is fixing defects. See component's revision history for more details.\r
171         See component's revision history for more details.\r
172         - CMSIS-CORE 4.30.0\r
173         - CMSIS-DAP 1.1.0 (unchanged)\r
174         - CMSIS-Driver 2.04.0\r
175         - CMSIS-DSP 1.4.7\r
176         - CMSIS-PACK 1.4.1\r
177         - CMSIS-RTOS RTX 4.80.0\r
178         - CMSIS-SVD 1.3.1 \r
179       </td>\r
180     </tr>\r
181     <tr>\r
182       <td>4.4.0</td>\r
183       <td>\r
184         Feature release adding CMSIS-DAP (see extended End User Licence Agreement) and CMSIS-Driver for CAN.\r
185         See component's revision history for more details.\r
186         - CMSIS-CORE 4.20.0\r
187         - CMSIS-DAP 1.1.0\r
188         - CMSIS-Driver 2.03.0\r
189         - CMSIS-DSP 1.4.5  (unchanged)\r
190         - CMSIS-RTOS RTX 4.79.0\r
191         - CMSIS-PACK 1.4.0\r
192         - CMSIS-SVD 1.3.0\r
193       </td>\r
194     </tr>\r
195     <tr>\r
196       <td>4.3.0</td>\r
197       <td>\r
198         Maintenance release adding SAI CMSIS-Driver and fixing defects. See component's revision history for more details.\r
199         - CMSIS-CORE 4.10.0\r
200         - CMSIS-Driver 2.02.0\r
201         - CMSIS-DSP 1.4.5\r
202         - CMSIS-RTOS RTX 4.78.0\r
203         - CMSIS-PACK 1.3.3\r
204         - CMSIS-SVD (unchanged)\r
205       </td>\r
206     </tr>\r
207     <tr>\r
208       <td>4.2</td>\r
209       <td>Introducing processor support for Cortex-M7.\r
210       </td>\r
211     </tr>\r
212     <tr>\r
213       <td>4.1</td>\r
214       <td>Enhancements in CMSIS-Pack and CMSIS-Driver.\n\r
215       Added: PackChk validation utility\n\r
216       Removed support for GNU: Sourcery G++ Lite Edition for ARM</td>\r
217     </tr>\r
218     <tr>\r
219       <td>4.0</td>\r
220       <td>First release in CMSIS-Pack format.\n Added specifications for CMSIS-Pack, CMSIS-Driver</td>\r
221     </tr>\r
222     <tr>\r
223       <td>3.30</td>\r
224       <td>Maintenance release with enhancements in each component</td>\r
225     </tr>\r
226     <tr>\r
227       <td>3.20</td>\r
228       <td>Maintenance release with enhancements in each component</td>\r
229     </tr>\r
230     <tr>\r
231       <td>3.01</td>\r
232       <td>Added support for Cortex-M0+ processors</td>\r
233     </tr>\r
234     <tr>\r
235       <td>3.00</td>\r
236       <td>Added support for SC000 and SC300 processors\n\r
237       Added support for GNU GCC Compiler\n\r
238       Added CMSIS-RTOS API</td>\r
239     </tr>\r
240     <tr>\r
241       <td>2.10</td>\r
242       <td>Added CMSIS-DSP Library</td>\r
243     </tr>\r
244     <tr>\r
245       <td>2.0</td>\r
246       <td>Added support for Cortex-M4 processor</td>\r
247     </tr>\r
248     <tr>\r
249       <td>1.30</td>\r
250       <td>Reworked CMSIS startup concept</td>\r
251     </tr>\r
252     <tr>\r
253       <td>1.01</td>\r
254       <td>Added support for Cortex-M0 processor</td>\r
255     </tr>\r
256     <tr>\r
257       <td>1.00</td>\r
258       <td>Initial release of CMSIS-CORE for Cortex-M3 processor</td>\r
259     </tr>\r
260 </table>\r
261 \r
262 */\r