meh

Fork of mbed by mbed official

Committer:
ricardobtez
Date:
Tue Apr 05 23:51:21 2016 +0000
Revision:
118:16969dd821af
Parent:
66:9c8f0e3462fb
Child:
93:e188a91d3eaa
dgdgr

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bogdanm 66:9c8f0e3462fb 1 /******************************************************************************
bogdanm 66:9c8f0e3462fb 2 * @file: system_LPC8xx.h
bogdanm 66:9c8f0e3462fb 3 * @purpose: CMSIS Cortex-M0+ Device Peripheral Access Layer Header File
bogdanm 66:9c8f0e3462fb 4 * for the NXP LPC8xx Device Series
bogdanm 66:9c8f0e3462fb 5 * @version: V1.0
bogdanm 66:9c8f0e3462fb 6 * @date: 16. Aug. 2012
bogdanm 66:9c8f0e3462fb 7 *----------------------------------------------------------------------------
bogdanm 66:9c8f0e3462fb 8 *
bogdanm 66:9c8f0e3462fb 9 * Copyright (C) 2012 ARM Limited. All rights reserved.
bogdanm 66:9c8f0e3462fb 10 *
bogdanm 66:9c8f0e3462fb 11 * ARM Limited (ARM) is supplying this software for use with Cortex-M0+
bogdanm 66:9c8f0e3462fb 12 * processor based microcontrollers. This file can be freely distributed
bogdanm 66:9c8f0e3462fb 13 * within development tools that are supporting such ARM based processors.
bogdanm 66:9c8f0e3462fb 14 *
bogdanm 66:9c8f0e3462fb 15 * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
bogdanm 66:9c8f0e3462fb 16 * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
bogdanm 66:9c8f0e3462fb 17 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
bogdanm 66:9c8f0e3462fb 18 * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
bogdanm 66:9c8f0e3462fb 19 * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
bogdanm 66:9c8f0e3462fb 20 *
bogdanm 66:9c8f0e3462fb 21 ******************************************************************************/
bogdanm 66:9c8f0e3462fb 22
bogdanm 66:9c8f0e3462fb 23
bogdanm 66:9c8f0e3462fb 24 #ifndef __SYSTEM_LPC8xx_H
bogdanm 66:9c8f0e3462fb 25 #define __SYSTEM_LPC8xx_H
bogdanm 66:9c8f0e3462fb 26
bogdanm 66:9c8f0e3462fb 27 #ifdef __cplusplus
bogdanm 66:9c8f0e3462fb 28 extern "C" {
bogdanm 66:9c8f0e3462fb 29 #endif
bogdanm 66:9c8f0e3462fb 30
bogdanm 66:9c8f0e3462fb 31 #include <stdint.h>
bogdanm 66:9c8f0e3462fb 32
bogdanm 66:9c8f0e3462fb 33 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
bogdanm 66:9c8f0e3462fb 34
bogdanm 66:9c8f0e3462fb 35
bogdanm 66:9c8f0e3462fb 36 /**
bogdanm 66:9c8f0e3462fb 37 * Initialize the system
bogdanm 66:9c8f0e3462fb 38 *
bogdanm 66:9c8f0e3462fb 39 * @param none
bogdanm 66:9c8f0e3462fb 40 * @return none
bogdanm 66:9c8f0e3462fb 41 *
bogdanm 66:9c8f0e3462fb 42 * @brief Setup the microcontroller system.
bogdanm 66:9c8f0e3462fb 43 * Initialize the System and update the SystemCoreClock variable.
bogdanm 66:9c8f0e3462fb 44 */
bogdanm 66:9c8f0e3462fb 45 extern void SystemInit (void);
bogdanm 66:9c8f0e3462fb 46
bogdanm 66:9c8f0e3462fb 47 /**
bogdanm 66:9c8f0e3462fb 48 * Update SystemCoreClock variable
bogdanm 66:9c8f0e3462fb 49 *
bogdanm 66:9c8f0e3462fb 50 * @param none
bogdanm 66:9c8f0e3462fb 51 * @return none
bogdanm 66:9c8f0e3462fb 52 *
bogdanm 66:9c8f0e3462fb 53 * @brief Updates the SystemCoreClock with current core Clock
bogdanm 66:9c8f0e3462fb 54 * retrieved from cpu registers.
bogdanm 66:9c8f0e3462fb 55 */
bogdanm 66:9c8f0e3462fb 56 extern void SystemCoreClockUpdate (void);
bogdanm 66:9c8f0e3462fb 57
bogdanm 66:9c8f0e3462fb 58 #ifdef __cplusplus
bogdanm 66:9c8f0e3462fb 59 }
bogdanm 66:9c8f0e3462fb 60 #endif
bogdanm 66:9c8f0e3462fb 61
bogdanm 66:9c8f0e3462fb 62 #endif /* __SYSTEM_LPC8xx_H */