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