]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_M7_SAME70_Xplained_AtmelStudio/src/ASF/sam/utils/cmsis/same70/source/templates/system_same70.h
Rename DummyTCB_t to StaticTCB_t.
[freertos] / FreeRTOS / Demo / CORTEX_M7_SAME70_Xplained_AtmelStudio / src / ASF / sam / utils / cmsis / same70 / source / templates / system_same70.h
1 /**\r
2  * \file\r
3  *\r
4  * Copyright (c) 2015 Atmel Corporation. All rights reserved.\r
5  *\r
6  * \asf_license_start\r
7  *\r
8  * \page License\r
9  *\r
10  * Redistribution and use in source and binary forms, with or without\r
11  * modification, are permitted provided that the following conditions are met:\r
12  *\r
13  * 1. Redistributions of source code must retain the above copyright notice,\r
14  *    this list of conditions and the following disclaimer.\r
15  *\r
16  * 2. Redistributions in binary form must reproduce the above copyright notice,\r
17  *    this list of conditions and the following disclaimer in the documentation\r
18  *    and/or other materials provided with the distribution.\r
19  *\r
20  * 3. The name of Atmel may not be used to endorse or promote products derived\r
21  *    from this software without specific prior written permission.\r
22  *\r
23  * 4. This software may only be redistributed and used in connection with an\r
24  *    Atmel microcontroller product.\r
25  *\r
26  * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED\r
27  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\r
28  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE\r
29  * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR\r
30  * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r
31  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\r
32  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r
33  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\r
34  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN\r
35  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\r
36  * POSSIBILITY OF SUCH DAMAGE.\r
37  *\r
38  * \asf_license_stop\r
39  *\r
40  */\r
41 /*\r
42  * Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>\r
43  */\r
44 \r
45 #ifndef SYSTEM_SAME70_H_INCLUDED\r
46 #define SYSTEM_SAME70_H_INCLUDED\r
47 \r
48 /* @cond 0 */\r
49 /**INDENT-OFF**/\r
50 #ifdef __cplusplus\r
51 extern "C" {\r
52 #endif\r
53 /**INDENT-ON**/\r
54 /* @endcond */\r
55 \r
56 #include <stdint.h>\r
57 \r
58 extern uint32_t SystemCoreClock; /* System Clock Frequency (Core Clock) */\r
59 \r
60 /**\r
61  * @brief Setup the microcontroller system.\r
62  * Initialize the System and update the SystemCoreClock variable.\r
63  */\r
64 void SystemInit(void);\r
65 \r
66 /**\r
67  * @brief Updates the SystemCoreClock with current core Clock\r
68  * retrieved from cpu registers.\r
69  */\r
70 void SystemCoreClockUpdate(void);\r
71 \r
72 /**\r
73  * Initialize flash.\r
74  */\r
75 void system_init_flash(uint32_t dw_clk);\r
76 \r
77 /* @cond 0 */\r
78 /**INDENT-OFF**/\r
79 #ifdef __cplusplus\r
80 }\r
81 #endif\r
82 /**INDENT-ON**/\r
83 /* @endcond */\r
84 \r
85 #endif /* SYSTEM_SAME70_H_INCLUDED */\r