mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

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

Committer:
mbed_official
Date:
Fri Jul 31 14:15:09 2015 +0100
Revision:
600:7d17ca308cd1
Parent:
337:6ed01c00b962
Synchronized with git revision e4cd8bbd3e05b68e5a7f466c74035a85743d45e0

Full URL: https://github.com/mbedmicro/mbed/commit/e4cd8bbd3e05b68e5a7f466c74035a85743d45e0/

Enable LPC8xx usart when configuring it

Who changed what in which revision?

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