Fork of the official mbed C/C++ SDK provides the software platform and libraries to build your applications. The fork has the documentation converted to Doxygen format

Dependents:   NervousPuppySprintOne NervousPuppySprint2602 Robot WarehouseBot1 ... more

Fork of mbed by mbed official

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers system_LPC17xx.h Source File

system_LPC17xx.h

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