2 ** ###################################################################
3 ** Processor: MKL25Z128VLK4
4 ** Compilers: ARM Compiler
5 ** Freescale C/C++ for Embedded ARM
7 ** IAR ANSI C/C++ Compiler for ARM
9 ** Reference manual: KL25RM, Rev.1, Jun 2012
10 ** Version: rev. 1.1, 2012-06-21
13 ** Provides a system configuration function and a global variable that
14 ** contains the system frequency. It configures the device and initializes
15 ** the oscillator (PLL) that is part of the microcontroller device.
17 ** Copyright: 2012 Freescale Semiconductor, Inc. All Rights Reserved.
19 ** http: www.freescale.com
20 ** mail: support@freescale.com
23 ** - rev. 1.0 (2012-06-13)
25 ** - rev. 1.1 (2012-06-21)
26 ** Update according to reference manual rev. 1.
28 ** ###################################################################
35 * @brief Device specific configuration file for MKL25Z4 (header file)
37 * Provides a system configuration function and a global variable that contains
38 * the system frequency. It configures the device and initializes the oscillator
39 * (PLL) that is part of the microcontroller device.
42 #ifndef SYSTEM_MKL25Z4_H_
43 #define SYSTEM_MKL25Z4_H_ /**< Symbol preventing repeated inclusion */
52 * @brief System clock frequency (core clock)
54 * The system clock frequency supplied to the SysTick timer and the processor
55 * core clock. This variable can be used by the user application to setup the
56 * SysTick timer or configure other parameters. It may also be used by debugger to
57 * query the frequency of the debug timer or configure the trace clock speed
58 * SystemCoreClock is initialized with a correct predefined value.
60 extern uint32_t SystemCoreClock;
63 * @brief Setup the microcontroller system.
65 * Typically this function configures the oscillator (PLL) that is part of the
66 * microcontroller device. For systems with variable clock speed it also updates
67 * the variable SystemCoreClock. SystemInit is called from startup_device file.
69 void SystemInit (void);
72 * @brief Updates the SystemCoreClock variable.
74 * It must be called whenever the core clock is changed during program
75 * execution. SystemCoreClockUpdate() evaluates the clock register settings and calculates
76 * the current core clock.
78 void SystemCoreClockUpdate (void);
84 #endif /* #if !defined(SYSTEM_MKL25Z4_H_) */