mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Committer:
AnnaBridge
Date:
Wed Feb 20 22:31:08 2019 +0000
Revision:
189:f392fc9709a3
Parent:
149:156823d33999
mbed library release version 165

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