rau cha / mbed-src-I2CWaitFix

Fork of mbed-src by mbed official

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers system_LPC8xx.h Source File

system_LPC8xx.h

00001 /******************************************************************************
00002  * @file:    system_LPC8xx.h
00003  * @purpose: CMSIS Cortex-M0+ Device Peripheral Access Layer Header File
00004  *           for the NXP LPC8xx Device Series
00005  * @version: V1.0
00006  * @date:    16. Aug. 2012
00007  *----------------------------------------------------------------------------
00008  *
00009  * Copyright (C) 2012 ARM Limited. All rights reserved.
00010  *
00011  * ARM Limited (ARM) is supplying this software for use with Cortex-M0+
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_LPC8xx_H
00025 #define __SYSTEM_LPC8xx_H
00026 
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif
00030 
00031 #include <stdint.h>
00032 
00033 extern uint32_t SystemCoreClock;     /*!< System Clock Frequency (Core Clock)  */
00034 
00035 
00036 /**
00037  * Initialize the system
00038  *
00039  * @param  none
00040  * @return none
00041  *
00042  * @brief  Setup the microcontroller system.
00043  *         Initialize the System and update the SystemCoreClock variable.
00044  */
00045 extern void SystemInit (void);
00046 
00047 /**
00048  * Update SystemCoreClock variable
00049  *
00050  * @param  none
00051  * @return none
00052  *
00053  * @brief  Updates the SystemCoreClock with current core Clock
00054  *         retrieved from cpu registers.
00055  */
00056 extern void SystemCoreClockUpdate (void);
00057 
00058 #ifdef __cplusplus
00059 }
00060 #endif
00061 
00062 #endif /* __SYSTEM_LPC8xx_H */