]>
git.gir.st - tmk_keyboard.git/blob - 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
7 *----------------------------------------------------------------------------
9 * Copyright (C) 2009 ARM Limited. All rights reserved.
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.
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.
21 ******************************************************************************/
24 #ifndef __SYSTEM_LPC17xx_H
25 #define __SYSTEM_LPC17xx_H
31 extern uint32_t SystemCoreClock
; /*!< System Clock Frequency (Core Clock) */
35 * Initialize the system
40 * @brief Setup the microcontroller system.
41 * Initialize the System and update the SystemCoreClock variable.
43 extern void SystemInit (void);
46 * Update SystemCoreClock variable
51 * @brief Updates the SystemCoreClock with current core Clock
52 * retrieved from cpu registers.
54 extern void SystemCoreClockUpdate (void);
60 #endif /* __SYSTEM_LPC17xx_H */