mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Committer:
mbed_official
Date:
Thu Apr 03 11:45:06 2014 +0100
Revision:
149:1fb5f62b92bd
Parent:
targets/hal/TARGET_Freescale/TARGET_KSDK_MCUS/TARGET_KSDK_CODE/drivers/clock/fsl_clock_configs.h@146:f64d43ff0c18
Synchronized with git revision 220c0bb39ceee40016e1e86350c058963d01ed42

Full URL: https://github.com/mbedmicro/mbed/commit/220c0bb39ceee40016e1e86350c058963d01ed42/

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 146:f64d43ff0c18 1 /*
mbed_official 146:f64d43ff0c18 2 * Copyright (c) 2013 - 2014, Freescale Semiconductor, Inc.
mbed_official 146:f64d43ff0c18 3 * All rights reserved.
mbed_official 146:f64d43ff0c18 4 *
mbed_official 146:f64d43ff0c18 5 * Redistribution and use in source and binary forms, with or without modification,
mbed_official 146:f64d43ff0c18 6 * are permitted provided that the following conditions are met:
mbed_official 146:f64d43ff0c18 7 *
mbed_official 146:f64d43ff0c18 8 * o Redistributions of source code must retain the above copyright notice, this list
mbed_official 146:f64d43ff0c18 9 * of conditions and the following disclaimer.
mbed_official 146:f64d43ff0c18 10 *
mbed_official 146:f64d43ff0c18 11 * o Redistributions in binary form must reproduce the above copyright notice, this
mbed_official 146:f64d43ff0c18 12 * list of conditions and the following disclaimer in the documentation and/or
mbed_official 146:f64d43ff0c18 13 * other materials provided with the distribution.
mbed_official 146:f64d43ff0c18 14 *
mbed_official 146:f64d43ff0c18 15 * o Neither the name of Freescale Semiconductor, Inc. nor the names of its
mbed_official 146:f64d43ff0c18 16 * contributors may be used to endorse or promote products derived from this
mbed_official 146:f64d43ff0c18 17 * software without specific prior written permission.
mbed_official 146:f64d43ff0c18 18 *
mbed_official 146:f64d43ff0c18 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
mbed_official 146:f64d43ff0c18 20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
mbed_official 146:f64d43ff0c18 21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
mbed_official 146:f64d43ff0c18 22 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
mbed_official 146:f64d43ff0c18 23 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
mbed_official 146:f64d43ff0c18 24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
mbed_official 146:f64d43ff0c18 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
mbed_official 146:f64d43ff0c18 26 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
mbed_official 146:f64d43ff0c18 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
mbed_official 146:f64d43ff0c18 28 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mbed_official 146:f64d43ff0c18 29 */
mbed_official 146:f64d43ff0c18 30 #if !defined(__FSL_CLOCK_CONFIGS_H__)
mbed_official 146:f64d43ff0c18 31 #define __FSL_CLOCK_CONFIGS_H__
mbed_official 146:f64d43ff0c18 32
mbed_official 146:f64d43ff0c18 33 /*******************************************************************************
mbed_official 146:f64d43ff0c18 34 * Definitions
mbed_official 146:f64d43ff0c18 35 ******************************************************************************/
mbed_official 146:f64d43ff0c18 36
mbed_official 146:f64d43ff0c18 37 /*! @addtogroup clock_manager*/
mbed_official 146:f64d43ff0c18 38 /*! @{*/
mbed_official 146:f64d43ff0c18 39
mbed_official 146:f64d43ff0c18 40 #if defined(CPU_MK70FN1M0VMJ12) || defined(CPU_MK70FN1M0VMJ15)
mbed_official 146:f64d43ff0c18 41
mbed_official 146:f64d43ff0c18 42 #define CLOCK_SETUP 1
mbed_official 146:f64d43ff0c18 43
mbed_official 146:f64d43ff0c18 44 /*! @brief Predefined clock setups for K70*/
mbed_official 146:f64d43ff0c18 45
mbed_official 146:f64d43ff0c18 46 /*
mbed_official 146:f64d43ff0c18 47 0 ... Multipurpose Clock Generator (MCG) in FLL Engaged Internal (FEI) mode
mbed_official 146:f64d43ff0c18 48 Reference clock source for MCG module is the slow internal clock source 32.768kHz
mbed_official 146:f64d43ff0c18 49 Core clock = 41.94MHz, BusClock = 41.94MHz
mbed_official 146:f64d43ff0c18 50 1 ... Multipurpose Clock Generator (MCG) in PLL Engaged External (PEE) mode
mbed_official 146:f64d43ff0c18 51 Reference clock source for MCG module is an external reference clock source 50MHz
mbed_official 146:f64d43ff0c18 52 Core clock = 120MHz, BusClock = 60MHz
mbed_official 146:f64d43ff0c18 53 2 ... Multipurpose Clock Generator (MCG) in Bypassed Low Power External (BLPE) mode
mbed_official 146:f64d43ff0c18 54 Core clock/Bus clock derived directly from an external reference clock source 50MHz with no multiplication
mbed_official 146:f64d43ff0c18 55 Core clock = 50MHz, BusClock = 50MHz
mbed_official 146:f64d43ff0c18 56 */
mbed_official 146:f64d43ff0c18 57
mbed_official 146:f64d43ff0c18 58
mbed_official 146:f64d43ff0c18 59 /*! @brief Define clock source values for K70*/
mbed_official 146:f64d43ff0c18 60
mbed_official 146:f64d43ff0c18 61 #if (CLOCK_SETUP == 0)
mbed_official 146:f64d43ff0c18 62 #define CPU_XTAL0_CLK_HZ 50000000u /* external crystal or osc clock frequency in Hz connected to System Oscillator 0*/
mbed_official 146:f64d43ff0c18 63 #define CPU_XTAL1_CLK_HZ 8000000u /* external crystal or osc clock frequency in Hz connected to System Oscillator 1*/
mbed_official 146:f64d43ff0c18 64 #define CPU_XTAL32k_CLK_HZ 32768u /* Value of the external 32k crystal or oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 65 #define CPU_INT_SLOW_CLK_HZ 32768u /* Value of the slow internal oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 66 #define CPU_INT_FAST_CLK_HZ 4000000u /* Value of the fast internal oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 67 #define DEFAULT_SYSTEM_CLOCK 41943040u /* Default System clock value*/
mbed_official 146:f64d43ff0c18 68 #elif (CLOCK_SETUP == 1)
mbed_official 146:f64d43ff0c18 69 #define CPU_XTAL0_CLK_HZ 50000000u /* external crystal or osc clock frequency in Hz connected to System Oscillator 0*/
mbed_official 146:f64d43ff0c18 70 #define CPU_XTAL1_CLK_HZ 8000000u /* external crystal or osc clock frequency in Hz connected to System Oscillator 1*/
mbed_official 146:f64d43ff0c18 71 #define CPU_XTAL32k_CLK_HZ 32768u /* Value of the external 32k crystal or oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 72 #define CPU_INT_SLOW_CLK_HZ 32768u /* Value of the slow internal oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 73 #define CPU_INT_FAST_CLK_HZ 4000000u /* Value of the fast internal oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 74 #define DEFAULT_SYSTEM_CLOCK 120000000u /* Default System clock value*/
mbed_official 146:f64d43ff0c18 75 #elif (CLOCK_SETUP == 2)
mbed_official 146:f64d43ff0c18 76 #define CPU_XTAL0_CLK_HZ 50000000u /* external crystal or osc clock frequency in Hz connected to System Oscillator 0*/
mbed_official 146:f64d43ff0c18 77 #define CPU_XTAL1_CLK_HZ 8000000u /* external crystal or osc clock frequency in Hz connected to System Oscillator 1*/
mbed_official 146:f64d43ff0c18 78 #define CPU_XTAL32k_CLK_HZ 32768u /* Value of the external 32k crystal or oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 79 #define CPU_INT_SLOW_CLK_HZ 32768u /* Value of the slow internal oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 80 #define CPU_INT_FAST_CLK_HZ 4000000u /* Value of the fast internal oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 81 #define DEFAULT_SYSTEM_CLOCK 50000000u /* Default System clock value*/
mbed_official 146:f64d43ff0c18 82 #endif /* (CLOCK_SETUP == 2)*/
mbed_official 146:f64d43ff0c18 83
mbed_official 146:f64d43ff0c18 84 #elif defined(CPU_MKL25Z128VLK4)
mbed_official 146:f64d43ff0c18 85
mbed_official 146:f64d43ff0c18 86 #define CLOCK_SETUP 1
mbed_official 146:f64d43ff0c18 87
mbed_official 146:f64d43ff0c18 88 /*! @brief Predefined clock setups for KL25*/
mbed_official 146:f64d43ff0c18 89
mbed_official 146:f64d43ff0c18 90 /*
mbed_official 146:f64d43ff0c18 91 0 ... Multipurpose Clock Generator (MCG) in FLL Engaged Internal (FEI) mode
mbed_official 146:f64d43ff0c18 92 Reference clock source for MCG module is the slow internal clock source 32.768kHz
mbed_official 146:f64d43ff0c18 93 Core clock = 41.94MHz, BusClock = 13.98MHz
mbed_official 146:f64d43ff0c18 94 1 ... Multipurpose Clock Generator (MCG) in PLL Engaged External (PEE) mode
mbed_official 146:f64d43ff0c18 95 Reference clock source for MCG module is an external crystal 8MHz
mbed_official 146:f64d43ff0c18 96 Core clock = 48MHz, BusClock = 24MHz
mbed_official 146:f64d43ff0c18 97 2 ... Multipurpose Clock Generator (MCG) in Bypassed Low Power External (BLPE) mode
mbed_official 146:f64d43ff0c18 98 Core clock/Bus clock derived directly from an external crystal 8MHz with no multiplication
mbed_official 146:f64d43ff0c18 99 Core clock = 8MHz, BusClock = 8MHz
mbed_official 146:f64d43ff0c18 100 */
mbed_official 146:f64d43ff0c18 101
mbed_official 146:f64d43ff0c18 102
mbed_official 146:f64d43ff0c18 103 /*! @brief Define clock source values for KL25*/
mbed_official 146:f64d43ff0c18 104
mbed_official 146:f64d43ff0c18 105 #if (CLOCK_SETUP == 0)
mbed_official 146:f64d43ff0c18 106 #define CPU_XTAL_CLK_HZ 8000000u /* external crystal or oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 107 #define CPU_INT_SLOW_CLK_HZ 32768u /* slow internal oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 108 #define CPU_INT_FAST_CLK_HZ 4000000u /* fast internal oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 109 #define DEFAULT_SYSTEM_CLOCK 41943040u /* Default System clock value*/
mbed_official 146:f64d43ff0c18 110 #elif (CLOCK_SETUP == 1)
mbed_official 146:f64d43ff0c18 111 #define CPU_XTAL_CLK_HZ 8000000u /* external crystal or oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 112 #define CPU_INT_SLOW_CLK_HZ 32768u /* slow internal oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 113 #define CPU_INT_FAST_CLK_HZ 4000000u /* fast internal oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 114 #define DEFAULT_SYSTEM_CLOCK 48000000u /* Default System clock value*/
mbed_official 146:f64d43ff0c18 115 #elif (CLOCK_SETUP == 2)
mbed_official 146:f64d43ff0c18 116 #define CPU_XTAL_CLK_HZ 8000000u /* external crystal or oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 117 #define CPU_INT_SLOW_CLK_HZ 32768u /* slow internal oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 118 #define CPU_INT_FAST_CLK_HZ 4000000u /* fast internal oscillator clock frequency in Hz*/
mbed_official 146:f64d43ff0c18 119 #define DEFAULT_SYSTEM_CLOCK 8000000u /* Default System clock value*/
mbed_official 146:f64d43ff0c18 120 #endif /*(CLOCK_SETUP == 2)*/
mbed_official 146:f64d43ff0c18 121
mbed_official 146:f64d43ff0c18 122 #elif defined(CPU_MK64FN1M0VMD12)
mbed_official 146:f64d43ff0c18 123
mbed_official 146:f64d43ff0c18 124 #define DISABLE_WDOG 1
mbed_official 146:f64d43ff0c18 125
mbed_official 146:f64d43ff0c18 126 #define CLOCK_SETUP 1
mbed_official 146:f64d43ff0c18 127 /* Predefined clock setups
mbed_official 146:f64d43ff0c18 128 0 ... Multipurpose Clock Generator (MCG) in FLL Engaged Internal (FEI) mode
mbed_official 146:f64d43ff0c18 129 Reference clock source for MCG module is the slow internal clock source 32.768kHz
mbed_official 146:f64d43ff0c18 130 Core clock = 20.97MHz, BusClock = 20.97MHz
mbed_official 146:f64d43ff0c18 131 1 ... Multipurpose Clock Generator (MCG) in PLL Engaged External (PEE) mode
mbed_official 146:f64d43ff0c18 132 Reference clock source for MCG module is an external clock source 50MHz
mbed_official 146:f64d43ff0c18 133 USB clock divider is set for USB to receive 48MHz input clock.
mbed_official 146:f64d43ff0c18 134 Core clock = 120MHz, BusClock = 60MHz
mbed_official 146:f64d43ff0c18 135 3 ... Multipurpose Clock Generator (MCG) in Bypassed Low Power Internal (BLPI) mode
mbed_official 146:f64d43ff0c18 136 Core clock/Bus clock derived directly from an fast internal clock 4MHz with no multiplication
mbed_official 146:f64d43ff0c18 137 The clock settings is ready for Very Low Power Run mode.
mbed_official 146:f64d43ff0c18 138 Core clock = 4MHz, BusClock = 4MHz
mbed_official 146:f64d43ff0c18 139 */
mbed_official 146:f64d43ff0c18 140
mbed_official 146:f64d43ff0c18 141 /*----------------------------------------------------------------------------
mbed_official 146:f64d43ff0c18 142 Define clock source values
mbed_official 146:f64d43ff0c18 143 *----------------------------------------------------------------------------*/
mbed_official 146:f64d43ff0c18 144 #if (CLOCK_SETUP == 0)
mbed_official 146:f64d43ff0c18 145 #define CPU_XTAL_CLK_HZ 50000000u /* Value of the external crystal or oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 146 #define CPU_XTAL32k_CLK_HZ 32768u /* Value of the external 32k crystal or oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 147 #define CPU_INT_SLOW_CLK_HZ 32768u /* Value of the slow internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 148 #define CPU_INT_FAST_CLK_HZ 4000000u /* Value of the fast internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 149 #define CPU_INT_IRC_CLK_HZ 48000000u /* Value of the 48M internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 150 #define DEFAULT_SYSTEM_CLOCK 20485760u /* Default System clock value */
mbed_official 146:f64d43ff0c18 151 #elif (CLOCK_SETUP == 1)
mbed_official 146:f64d43ff0c18 152 #define CPU_XTAL_CLK_HZ 50000000u /* Value of the external crystal or oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 153 #define CPU_XTAL32k_CLK_HZ 32768u /* Value of the external 32k crystal or oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 154 #define CPU_INT_SLOW_CLK_HZ 32768u /* Value of the slow internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 155 #define CPU_INT_FAST_CLK_HZ 4000000u /* Value of the fast internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 156 #define CPU_INT_IRC_CLK_HZ 48000000u /* Value of the 48M internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 157 #define DEFAULT_SYSTEM_CLOCK 120000000u /* Default System clock value */
mbed_official 146:f64d43ff0c18 158 #elif (CLOCK_SETUP == 3)
mbed_official 146:f64d43ff0c18 159 #define CPU_XTAL_CLK_HZ 50000000u /* Value of the external crystal or oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 160 #define CPU_XTAL32k_CLK_HZ 32768u /* Value of the external 32k crystal or oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 161 #define CPU_INT_SLOW_CLK_HZ 32768u /* Value of the slow internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 162 #define CPU_INT_FAST_CLK_HZ 4000000u /* Value of the fast internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 163 #define CPU_INT_IRC_CLK_HZ 48000000u /* Value of the 48M internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 164 #define DEFAULT_SYSTEM_CLOCK 4000000u /* Default System clock value */
mbed_official 146:f64d43ff0c18 165 #endif /* (CLOCK_SETUP == 3) */
mbed_official 146:f64d43ff0c18 166
mbed_official 146:f64d43ff0c18 167 #elif defined(CPU_MK22FN512VDC12)
mbed_official 146:f64d43ff0c18 168
mbed_official 146:f64d43ff0c18 169 #define DISABLE_WDOG 1
mbed_official 146:f64d43ff0c18 170
mbed_official 146:f64d43ff0c18 171 #define CLOCK_SETUP 1
mbed_official 146:f64d43ff0c18 172 /* Predefined clock setups
mbed_official 146:f64d43ff0c18 173 0 ... Multipurpose Clock Generator (MCG) in FLL Engaged Internal (FEI) mode
mbed_official 146:f64d43ff0c18 174 Reference clock source for MCG module is the slow internal clock source 32.768kHz
mbed_official 146:f64d43ff0c18 175 Core clock = 41.94MHz, BusClock = 41.94MHz
mbed_official 146:f64d43ff0c18 176 1 ... Multipurpose Clock Generator (MCG) in PLL Engaged External (PEE) mode
mbed_official 146:f64d43ff0c18 177 Reference clock source for MCG module is an external crystal 8MHz
mbed_official 146:f64d43ff0c18 178 Core clock = 100MHz, BusClock = 50MHz
mbed_official 146:f64d43ff0c18 179 2 ... Multipurpose Clock Generator (MCG) in Bypassed Low Power External (BLPE) mode
mbed_official 146:f64d43ff0c18 180 Core clock/Bus clock derived directly from an external crystal 8MHz with no multiplication
mbed_official 146:f64d43ff0c18 181 Core clock = 8MHz, BusClock = 8MHz
mbed_official 146:f64d43ff0c18 182 3 ... Multipurpose Clock Generator (MCG) in PLL Engaged External (PEE) mode
mbed_official 146:f64d43ff0c18 183 Reference clock source for MCG module is an external crystal 8MHz
mbed_official 146:f64d43ff0c18 184 Core clock = 120MHz, BusClock = 60MHz
mbed_official 146:f64d43ff0c18 185 */
mbed_official 146:f64d43ff0c18 186
mbed_official 146:f64d43ff0c18 187 /*----------------------------------------------------------------------------
mbed_official 146:f64d43ff0c18 188 Define clock source values
mbed_official 146:f64d43ff0c18 189 *----------------------------------------------------------------------------*/
mbed_official 146:f64d43ff0c18 190 #if (CLOCK_SETUP == 0)
mbed_official 146:f64d43ff0c18 191 #define CPU_XTAL_CLK_HZ 8000000u /* Value of the external crystal or oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 192 #define CPU_XTAL32k_CLK_HZ 32768u /* Value of the external 32k crystal or oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 193 #define CPU_INT_SLOW_CLK_HZ 32768u /* Value of the slow internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 194 #define CPU_INT_FAST_CLK_HZ 4000000u /* Value of the fast internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 195 #define CPU_INT_IRC_CLK_HZ 48000000u /* Value of the 48M internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 196 #define DEFAULT_SYSTEM_CLOCK 41943040u /* Default System clock value */
mbed_official 146:f64d43ff0c18 197 #elif (CLOCK_SETUP == 1)
mbed_official 146:f64d43ff0c18 198 #define CPU_XTAL_CLK_HZ 8000000u /* Value of the external crystal or oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 199 #define CPU_XTAL32k_CLK_HZ 32768u /* Value of the external 32k crystal or oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 200 #define CPU_INT_SLOW_CLK_HZ 32768u /* Value of the slow internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 201 #define CPU_INT_FAST_CLK_HZ 4000000u /* Value of the fast internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 202 #define CPU_INT_IRC_CLK_HZ 48000000u /* Value of the 48M internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 203 #define DEFAULT_SYSTEM_CLOCK 100000000u /* Default System clock value */
mbed_official 146:f64d43ff0c18 204 #elif (CLOCK_SETUP == 2)
mbed_official 146:f64d43ff0c18 205 #define CPU_XTAL_CLK_HZ 8000000u /* Value of the external crystal or oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 206 #define CPU_XTAL32k_CLK_HZ 32768u /* Value of the external 32k crystal or oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 207 #define CPU_INT_SLOW_CLK_HZ 32768u /* Value of the slow internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 208 #define CPU_INT_FAST_CLK_HZ 4000000u /* Value of the fast internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 209 #define CPU_INT_IRC_CLK_HZ 48000000u /* Value of the 48M internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 210 #define DEFAULT_SYSTEM_CLOCK 8000000u /* Default System clock value */
mbed_official 146:f64d43ff0c18 211 #elif (CLOCK_SETUP == 3)
mbed_official 146:f64d43ff0c18 212 #define CPU_XTAL_CLK_HZ 8000000u /* Value of the external crystal or oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 213 #define CPU_XTAL32k_CLK_HZ 32768u /* Value of the external 32k crystal or oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 214 #define CPU_INT_SLOW_CLK_HZ 32768u /* Value of the slow internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 215 #define CPU_INT_FAST_CLK_HZ 4000000u /* Value of the fast internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 216 #define CPU_INT_IRC_CLK_HZ 48000000u /* Value of the 48M internal oscillator clock frequency in Hz */
mbed_official 146:f64d43ff0c18 217 #define DEFAULT_SYSTEM_CLOCK 120000000u /* Default System clock value */
mbed_official 146:f64d43ff0c18 218 #endif /* (CLOCK_SETUP == 3) */
mbed_official 146:f64d43ff0c18 219
mbed_official 146:f64d43ff0c18 220 #endif /* CPU types*/
mbed_official 146:f64d43ff0c18 221
mbed_official 146:f64d43ff0c18 222 /*! @}*/
mbed_official 146:f64d43ff0c18 223
mbed_official 146:f64d43ff0c18 224 #endif /* __FSL_CLOCK_CONFIGS_H__*/
mbed_official 146:f64d43ff0c18 225 /*******************************************************************************
mbed_official 146:f64d43ff0c18 226 * EOF
mbed_official 146:f64d43ff0c18 227 ******************************************************************************/
mbed_official 146:f64d43ff0c18 228