The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
bogdanm
Date:
Fri Sep 12 16:41:52 2014 +0100
Revision:
89:552587b429a1
Parent:
84:0b3ab51c8877
Release 89 of the mbed library

Main changes:

- low power optimizations for Nordic targets
- code structure changes for Freescale K64F targets
- bug fixes in various backends

Who changed what in which revision?

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