b luo / mbed-dev

Fork of mbed-dev by mbed official

Committer:
<>
Date:
Fri Oct 28 11:17:30 2016 +0100
Revision:
149:156823d33999
Parent:
targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/system_MK20DX256.h@144:ef7eb2e8f9f7
This updates the lib to the mbed lib v128

NOTE: This release includes a restructuring of the file and directory locations and thus some
include paths in your code may need updating accordingly.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 144:ef7eb2e8f9f7 1 /*
<> 144:ef7eb2e8f9f7 2 ** ###################################################################
<> 144:ef7eb2e8f9f7 3 ** Compilers: ARM Compiler
<> 144:ef7eb2e8f9f7 4 ** Freescale C/C++ for Embedded ARM
<> 144:ef7eb2e8f9f7 5 ** GNU C Compiler
<> 144:ef7eb2e8f9f7 6 ** IAR ANSI C/C++ Compiler for ARM
<> 144:ef7eb2e8f9f7 7 **
<> 144:ef7eb2e8f9f7 8 **
<> 144:ef7eb2e8f9f7 9 **
<> 144:ef7eb2e8f9f7 10 ** Version: rev. 2.0, 2012-03-19
<> 144:ef7eb2e8f9f7 11 **
<> 144:ef7eb2e8f9f7 12 ** Abstract:
<> 144:ef7eb2e8f9f7 13 ** Provides a system configuration function and a global variable that
<> 144:ef7eb2e8f9f7 14 ** contains the system frequency. It configures the device and initializes
<> 144:ef7eb2e8f9f7 15 ** the oscillator (PLL) that is part of the microcontroller device.
<> 144:ef7eb2e8f9f7 16 **
<> 144:ef7eb2e8f9f7 17 ** Copyright: 2015 Freescale Semiconductor, Inc. All Rights Reserved.
<> 144:ef7eb2e8f9f7 18 **
<> 144:ef7eb2e8f9f7 19 ** http: www.freescale.com
<> 144:ef7eb2e8f9f7 20 ** mail: support@freescale.com
<> 144:ef7eb2e8f9f7 21 **
<> 144:ef7eb2e8f9f7 22 ** Revisions:
<> 144:ef7eb2e8f9f7 23 ** - rev. 1.0 (2011-12-15)
<> 144:ef7eb2e8f9f7 24 ** Initial version
<> 144:ef7eb2e8f9f7 25 ** - rev. 2.0 (2012-03-19)
<> 144:ef7eb2e8f9f7 26 ** PDB Peripheral register structure updated.
<> 144:ef7eb2e8f9f7 27 ** DMA Registers and bits for unsupported DMA channels removed.
<> 144:ef7eb2e8f9f7 28 **
<> 144:ef7eb2e8f9f7 29 ** ###################################################################
<> 144:ef7eb2e8f9f7 30 */
<> 144:ef7eb2e8f9f7 31
<> 144:ef7eb2e8f9f7 32 /**
<> 144:ef7eb2e8f9f7 33 * @file MK20DX256
<> 144:ef7eb2e8f9f7 34 * @version 2.0
<> 144:ef7eb2e8f9f7 35 * @date 2012-03-19
<> 144:ef7eb2e8f9f7 36 * @brief Device specific configuration file for MK20DX256 (header file)
<> 144:ef7eb2e8f9f7 37 *
<> 144:ef7eb2e8f9f7 38 * Provides a system configuration function and a global variable that contains
<> 144:ef7eb2e8f9f7 39 * the system frequency. It configures the device and initializes the oscillator
<> 144:ef7eb2e8f9f7 40 * (PLL) that is part of the microcontroller device.
<> 144:ef7eb2e8f9f7 41 */
<> 144:ef7eb2e8f9f7 42
<> 144:ef7eb2e8f9f7 43 #ifndef SYSTEM_MK20DX256_H_
<> 144:ef7eb2e8f9f7 44 #define SYSTEM_MK20DX256_H_ /**< Symbol preventing repeated inclusion */
<> 144:ef7eb2e8f9f7 45
<> 144:ef7eb2e8f9f7 46 #ifdef __cplusplus
<> 144:ef7eb2e8f9f7 47 extern "C" {
<> 144:ef7eb2e8f9f7 48 #endif
<> 144:ef7eb2e8f9f7 49
<> 144:ef7eb2e8f9f7 50 #include <stdint.h>
<> 144:ef7eb2e8f9f7 51
<> 144:ef7eb2e8f9f7 52 /**
<> 144:ef7eb2e8f9f7 53 * @brief System clock frequency (core clock)
<> 144:ef7eb2e8f9f7 54 *
<> 144:ef7eb2e8f9f7 55 * The system clock frequency supplied to the SysTick timer and the processor
<> 144:ef7eb2e8f9f7 56 * core clock. This variable can be used by the user application to setup the
<> 144:ef7eb2e8f9f7 57 * SysTick timer or configure other parameters. It may also be used by debugger to
<> 144:ef7eb2e8f9f7 58 * query the frequency of the debug timer or configure the trace clock speed
<> 144:ef7eb2e8f9f7 59 * SystemCoreClock is initialized with a correct predefined value.
<> 144:ef7eb2e8f9f7 60 */
<> 144:ef7eb2e8f9f7 61 extern uint32_t SystemCoreClock;
<> 144:ef7eb2e8f9f7 62
<> 144:ef7eb2e8f9f7 63 /**
<> 144:ef7eb2e8f9f7 64 * @brief Setup the microcontroller system.
<> 144:ef7eb2e8f9f7 65 *
<> 144:ef7eb2e8f9f7 66 * Typically this function configures the oscillator (PLL) that is part of the
<> 144:ef7eb2e8f9f7 67 * microcontroller device. For systems with variable clock speed it also updates
<> 144:ef7eb2e8f9f7 68 * the variable SystemCoreClock. SystemInit is called from startup_device file.
<> 144:ef7eb2e8f9f7 69 */
<> 144:ef7eb2e8f9f7 70 void SystemInit (void);
<> 144:ef7eb2e8f9f7 71
<> 144:ef7eb2e8f9f7 72 /**
<> 144:ef7eb2e8f9f7 73 * @brief Updates the SystemCoreClock variable.
<> 144:ef7eb2e8f9f7 74 *
<> 144:ef7eb2e8f9f7 75 * It must be called whenever the core clock is changed during program
<> 144:ef7eb2e8f9f7 76 * execution. SystemCoreClockUpdate() evaluates the clock register settings and calculates
<> 144:ef7eb2e8f9f7 77 * the current core clock.
<> 144:ef7eb2e8f9f7 78 */
<> 144:ef7eb2e8f9f7 79 void SystemCoreClockUpdate (void);
<> 144:ef7eb2e8f9f7 80
<> 144:ef7eb2e8f9f7 81 #ifdef __cplusplus
<> 144:ef7eb2e8f9f7 82 }
<> 144:ef7eb2e8f9f7 83 #endif
<> 144:ef7eb2e8f9f7 84
<> 144:ef7eb2e8f9f7 85 #endif /* #if !defined(SYSTEM_MK20DX256_H_) */