2012-05-20 08:37:29 +00:00
|
|
|
/******************************************************************************
|
|
|
|
* @file: system_LPC11xx.h
|
|
|
|
* @purpose: CMSIS Cortex-M0 Device Peripheral Access Layer Header File
|
|
|
|
* for the NXP LPC11xx Device Series
|
|
|
|
* @version: V1.0
|
|
|
|
* @date: 25. Nov. 2008
|
|
|
|
*----------------------------------------------------------------------------
|
2010-03-27 09:14:23 +00:00
|
|
|
*
|
2012-05-20 08:37:29 +00:00
|
|
|
* Copyright (C) 2008 ARM Limited. All rights reserved.
|
2010-03-27 09:14:23 +00:00
|
|
|
*
|
2012-05-20 08:37:29 +00:00
|
|
|
* ARM Limited (ARM) is supplying this software for use with Cortex-M0
|
2010-03-27 09:14:23 +00:00
|
|
|
* processor based microcontrollers. This file can be freely distributed
|
|
|
|
* within development tools that are supporting such ARM based processors.
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
|
|
|
|
* OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
|
|
|
|
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
|
|
|
|
* ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
|
|
|
|
* CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __SYSTEM_LPC11xx_H
|
|
|
|
#define __SYSTEM_LPC11xx_H
|
|
|
|
|
2012-05-20 08:37:29 +00:00
|
|
|
/* Vector Table Base ---------------------------------------------------------*/
|
|
|
|
#define NVIC_VectTab_RAM (0x10000000)
|
|
|
|
#define NVIC_VectTab_FLASH (0x00000000)
|
2010-03-27 09:14:23 +00:00
|
|
|
|
2012-05-20 08:37:29 +00:00
|
|
|
extern uint32_t ClockSource;
|
|
|
|
extern uint32_t SystemFrequency; /*!< System Clock Frequency (Core Clock) */
|
|
|
|
extern uint32_t SystemAHBFrequency;
|
2010-03-27 09:14:23 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Initialize the system
|
|
|
|
*
|
|
|
|
* @param none
|
|
|
|
* @return none
|
|
|
|
*
|
|
|
|
* @brief Setup the microcontroller system.
|
2012-05-20 08:37:29 +00:00
|
|
|
* Initialize the System and update the SystemFrequency variable.
|
2010-03-27 09:14:23 +00:00
|
|
|
*/
|
|
|
|
extern void SystemInit (void);
|
|
|
|
#endif
|