mbed library sources: Modified to operate FRDM-KL25Z at 48MHz from internal 32kHz oscillator (nothing else changed).

Fork of mbed-src by mbed official

The only file that changed is: mbed-src-FLL48/targets/cmsis/TARGET_Freescale/TARGET_KL25Z/system_MKL25Z4.h

Committer:
bogdanm
Date:
Tue Sep 10 15:14:19 2013 +0300
Revision:
20:4263a77256ae
Sync with git revision 171dda705c947bf910926a0b73d6a4797802554d

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bogdanm 20:4263a77256ae 1 /**************************************************************************//**
bogdanm 20:4263a77256ae 2 * @file system_LPC11xx.h
bogdanm 20:4263a77256ae 3 * @brief CMSIS Cortex-M0 Device Peripheral Access Layer Header File
bogdanm 20:4263a77256ae 4 * for the NXP LPC11xx/LPC11Cxx Device Series
bogdanm 20:4263a77256ae 5 * @version V1.10
bogdanm 20:4263a77256ae 6 * @date 24. November 2010
bogdanm 20:4263a77256ae 7 *
bogdanm 20:4263a77256ae 8 * @note
bogdanm 20:4263a77256ae 9 * Copyright (C) 2009-2010 ARM Limited. All rights reserved.
bogdanm 20:4263a77256ae 10 *
bogdanm 20:4263a77256ae 11 * @par
bogdanm 20:4263a77256ae 12 * ARM Limited (ARM) is supplying this software for use with Cortex-M
bogdanm 20:4263a77256ae 13 * processor based microcontrollers. This file can be freely distributed
bogdanm 20:4263a77256ae 14 * within development tools that are supporting such ARM based processors.
bogdanm 20:4263a77256ae 15 *
bogdanm 20:4263a77256ae 16 * @par
bogdanm 20:4263a77256ae 17 * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
bogdanm 20:4263a77256ae 18 * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
bogdanm 20:4263a77256ae 19 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
bogdanm 20:4263a77256ae 20 * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
bogdanm 20:4263a77256ae 21 * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
bogdanm 20:4263a77256ae 22 *
bogdanm 20:4263a77256ae 23 ******************************************************************************/
bogdanm 20:4263a77256ae 24
bogdanm 20:4263a77256ae 25
bogdanm 20:4263a77256ae 26 #ifndef __SYSTEM_LPC11xx_H
bogdanm 20:4263a77256ae 27 #define __SYSTEM_LPC11xx_H
bogdanm 20:4263a77256ae 28
bogdanm 20:4263a77256ae 29 #ifdef __cplusplus
bogdanm 20:4263a77256ae 30 extern "C" {
bogdanm 20:4263a77256ae 31 #endif
bogdanm 20:4263a77256ae 32
bogdanm 20:4263a77256ae 33 #include <stdint.h>
bogdanm 20:4263a77256ae 34
bogdanm 20:4263a77256ae 35 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
bogdanm 20:4263a77256ae 36
bogdanm 20:4263a77256ae 37
bogdanm 20:4263a77256ae 38 /**
bogdanm 20:4263a77256ae 39 * Initialize the system
bogdanm 20:4263a77256ae 40 *
bogdanm 20:4263a77256ae 41 * @param none
bogdanm 20:4263a77256ae 42 * @return none
bogdanm 20:4263a77256ae 43 *
bogdanm 20:4263a77256ae 44 * @brief Setup the microcontroller system.
bogdanm 20:4263a77256ae 45 * Initialize the System and update the SystemCoreClock variable.
bogdanm 20:4263a77256ae 46 */
bogdanm 20:4263a77256ae 47 extern void SystemInit (void);
bogdanm 20:4263a77256ae 48
bogdanm 20:4263a77256ae 49 /**
bogdanm 20:4263a77256ae 50 * Update SystemCoreClock variable
bogdanm 20:4263a77256ae 51 *
bogdanm 20:4263a77256ae 52 * @param none
bogdanm 20:4263a77256ae 53 * @return none
bogdanm 20:4263a77256ae 54 *
bogdanm 20:4263a77256ae 55 * @brief Updates the SystemCoreClock with current core Clock
bogdanm 20:4263a77256ae 56 * retrieved from cpu registers.
bogdanm 20:4263a77256ae 57 */
bogdanm 20:4263a77256ae 58 extern void SystemCoreClockUpdate (void);
bogdanm 20:4263a77256ae 59
bogdanm 20:4263a77256ae 60 #ifdef __cplusplus
bogdanm 20:4263a77256ae 61 }
bogdanm 20:4263a77256ae 62 #endif
bogdanm 20:4263a77256ae 63
bogdanm 20:4263a77256ae 64 #endif /* __SYSTEM_LPC11xx_H */