CMSIS2000  0.0.7
 Указатель Структуры данных Файлы Функции Переменные Определения типов Перечисления Элементы перечислений Макросы Группы Страницы
system_ARMCM0.h
См. документацию.
1 /**************************************************************************//**
2  * @file system_ARMCM0.h
3  * @brief CMSIS Device System Header File for
4  * ARMCM0 Device Series
5  * @version V1.07
6  * @date 30. January 2012
7  *
8  * @note
9  * Copyright (C) 2011 ARM Limited. All rights reserved.
10  *
11  * @par
12  * ARM Limited (ARM) is supplying this software for use with Cortex-M
13  * processor based microcontrollers. This file can be freely distributed
14  * within development tools that are supporting such ARM based processors.
15  *
16  * @par
17  * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
18  * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
19  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
20  * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
21  * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
22  *
23  ******************************************************************************/
24 
25 
26 #ifndef SYSTEM_ARMCM0_H
27 #define SYSTEM_ARMCM0_H
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
34 
35 
36 /**
37  * Initialize the system
38  *
39  * @param none
40  * @return none
41  *
42  * @brief Setup the microcontroller system.
43  * Initialize the System and update the SystemCoreClock variable.
44  */
45 extern void SystemInit (void);
46 
47 /**
48  * Update SystemCoreClock variable
49  *
50  * @param none
51  * @return none
52  *
53  * @brief Updates the SystemCoreClock with current core Clock
54  * retrieved from cpu registers.
55  */
56 extern void SystemCoreClockUpdate (void);
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif /* SYSTEM_ARMCM0_H */