Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers system_LPC17xx.h Source File

system_LPC17xx.h

Go to the documentation of this file.
00001 /**************************************************************************//**
00002  * @file     system_LPC17xx.h
00003  * @brief    CMSIS Cortex-M3 Device Peripheral Access Layer Header File
00004  *           for the NXP LPC17xx Device Series
00005  * @version  V1.02
00006  * @date     08. September 2009
00007  *
00008  * @note
00009  * Copyright (C) 2009 ARM Limited. All rights reserved.
00010  *
00011  * @par
00012  * ARM Limited (ARM) is supplying this software for use with Cortex-M
00013  * processor based microcontrollers.  This file can be freely distributed
00014  * within development tools that are supporting such ARM based processors.
00015  *
00016  * @par
00017  * THIS SOFTWARE IS PROVIDED "AS IS".  NO WARRANTIES, WHETHER EXPRESS, IMPLIED
00018  * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
00019  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
00020  * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
00021  * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
00022  *
00023  ******************************************************************************/
00024 
00025 
00026 #ifndef __SYSTEM_LPC17xx_H
00027 #define __SYSTEM_LPC17xx_H
00028 
00029 #ifdef __cplusplus
00030 extern "C" {
00031 #endif
00032 
00033 #include <stdint.h>
00034 
00035 /** @addtogroup LPC17xx_System
00036  * @{
00037  */
00038 
00039 
00040 extern uint32_t SystemCoreClock ;     /*!< System Clock Frequency (Core Clock)  */
00041 
00042 
00043 /**
00044  * Initialize the system
00045  *
00046  * @param  none
00047  * @return none
00048  *
00049  * @brief  Setup the microcontroller system.
00050  *         Initialize the System and update the SystemCoreClock variable.
00051  */
00052 extern void SystemInit (void);
00053 
00054 /**
00055  * Update SystemCoreClock variable
00056  *
00057  * @param  none
00058  * @return none
00059  *
00060  * @brief  Updates the SystemCoreClock with current core Clock
00061  *         retrieved from cpu registers.
00062  */
00063 extern void SystemCoreClockUpdate (void);
00064 #ifdef __cplusplus
00065 }
00066 #endif
00067 
00068 /**
00069  * @}
00070  */
00071 
00072 #endif /* __SYSTEM_LPC17xx_H */