Support for MSP430 launchpad.

Fork of mbed by mbed official

Committer:
bogdanm
Date:
Mon Aug 12 13:17:46 2013 +0300
Revision:
65:5798e58a58b1
Parent:
64:e3affc9e7238
Child:
66:9c8f0e3462fb
New target (LPC4088), new features (interrupt chaining), bug fixes (KL25Z I2C).

Who changed what in which revision?

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