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