1 /*************************************************************************//**
2 * @file system_<Device>.h
3 * @brief CMSIS-Core(M) Device Peripheral Access Layer Header File for
7 *****************************************************************************/
9 * Copyright (c) 2009-2022 Arm Limited. All rights reserved.
11 * SPDX-License-Identifier: Apache-2.0
13 * Licensed under the Apache License, Version 2.0 (the License); you may
14 * not use this file except in compliance with the License.
15 * You may obtain a copy of the License at
17 * www.apache.org/licenses/LICENSE-2.0
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an AS IS BASIS, WITHOUT
21 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
26 /* ToDo: rename this file from 'system_Device.h' to 'system_<Device>.h according to your device naming */
28 #ifndef SYSTEM_<Device>_H /* ToDo: replace '<Device>' with your device name */
29 #define SYSTEM_<Device>_H
38 \brief Exception / Interrupt Handler Function Prototype
40 typedef void(*VECTOR_TABLE_Type)(void);
43 \brief System Clock Frequency (Core Clock)
45 extern uint32_t SystemCoreClock;
48 \brief Setup the microcontroller system.
50 Initialize the System and update the SystemCoreClock variable.
52 extern void SystemInit (void);
56 \brief Update SystemCoreClock variable.
58 Updates the SystemCoreClock with current core Clock retrieved from cpu registers.
60 extern void SystemCoreClockUpdate (void);
66 #endif /* SYSTEM_<Device>_H */