]> begriffs open source - cmsis/blob - CMSIS/Core/Template/Device_A/Include/system_Device.h
Reworked CMSIS-Core(M) and Core(A) docs for CMSIS 6. (#47)
[cmsis] / CMSIS / Core / Template / Device_A / Include / system_Device.h
1 /**************************************************************************//**
2  * @file     system_<Device>.h
3  * @brief    CMSIS Cortex-A Device Peripheral Access Layer
4  * @version  V5.00
5  * @date     10. January 2018
6  ******************************************************************************/
7 /*
8  * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
9  *
10  * SPDX-License-Identifier: Apache-2.0
11  *
12  * Licensed under the Apache License, Version 2.0 (the License); you may
13  * not use this file except in compliance with the License.
14  * You may obtain a copy of the License at
15  *
16  * www.apache.org/licenses/LICENSE-2.0
17  *
18  * Unless required by applicable law or agreed to in writing, software
19  * distributed under the License is distributed on an AS IS BASIS, WITHOUT
20  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21  * See the License for the specific language governing permissions and
22  * limitations under the License.
23  */
24
25 #ifndef SYSTEM_<Device>_H   /* ToDo: replace '<Device>' with your device name */
26 #define SYSTEM_<Device>_H
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 #include <stdint.h>
33
34 extern uint32_t SystemCoreClock;     /*!< System Clock Frequency (Core Clock)  */
35
36 /**
37   \brief Setup the microcontroller system.
38
39    Initialize the System and update the SystemCoreClock variable.
40  */
41 extern void SystemInit (void);
42
43 /**
44   \brief  Update SystemCoreClock variable.
45
46    Updates the SystemCoreClock with current core Clock retrieved from cpu registers.
47  */
48 extern void SystemCoreClockUpdate (void);
49
50 /**
51   \brief  Create Translation Table.
52
53    Creates Memory Management Unit Translation Table.
54  */
55 extern void MMU_CreateTranslationTable(void);
56
57 #ifdef __cplusplus
58 }
59 #endif
60
61 #endif /* SYSTEM_<Device>_H */