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

Fork of mbed by mbed official

Committer:
Mikchel
Date:
Sun May 03 16:04:42 2015 +0000
Revision:
99:7f6c6de930c0
Parent:
66:9c8f0e3462fb
12

Who changed what in which revision?

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