Describes predefine macros for mbed online compiler (armcc)

Committer:
MACRUM
Date:
Thu Mar 16 21:58:09 2017 +0900
Revision:
6:40e873bbc5f7
Add licence header info

Who changed what in which revision?

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