]> git.donarmstrong.com Git - qmk_firmware.git/blob - tool/mbed/mbed-sdk/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/system_LPC15xx.h
Squashed 'tmk_core/' changes from 7967731..b9e0ea0
[qmk_firmware.git] / tool / mbed / mbed-sdk / libraries / mbed / targets / cmsis / TARGET_NXP / TARGET_LPC15XX / system_LPC15xx.h
1 /**************************************************************************//**
2  * @file     system_LPC15xx.h
3  * @brief    CMSIS Cortex-M3 Device System Header File for
4  *           NXP LPC15xx Device Series
5  * @version  V1.00
6  * @date     19. July 2013
7  *
8  * @note
9  * Copyright (C) 2013 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_LPC15xx_H
27 #define __SYSTEM_LPC15xx_H
28
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32
33 #include <stdint.h>
34
35 /** @addtogroup LPC15xx_System
36  * @{
37  */
38
39 extern uint32_t SystemCoreClock;     /*!< System Clock Frequency (Core Clock)  */
40
41
42 /**
43  * Initialize the system
44  *
45  * @param  none
46  * @return none
47  *
48  * @brief  Setup the microcontroller system.
49  *         Initialize the System.
50  */
51 extern void SystemInit (void);
52
53 /**
54  * Update SystemCoreClock variable
55  *
56  * @param  none
57  * @return none
58  *
59  * @brief  Updates the SystemCoreClock with current core Clock
60  *         retrieved from cpu registers.
61  */
62 extern void SystemCoreClockUpdate (void);
63
64 #ifdef __cplusplus
65 }
66 #endif
67
68 /**
69  * @}
70  */
71
72 #endif /* __SYSTEM_LPC15xx_H */