mbed SDK library sources

Fork of mbed-src by mbed official

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:
Tue Nov 26 15:30:05 2013 +0000
Revision:
50:b08ceb75017d
Synchronized with git revision 256f70fffc5847a435588bbe9b1b3982ce014d6e

Full URL: https://github.com/mbedmicro/mbed/commit/256f70fffc5847a435588bbe9b1b3982ce014d6e/

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 50:b08ceb75017d 1 /* mbed Microcontroller Library
mbed_official 50:b08ceb75017d 2 * Copyright (c) 2006-2013 ARM Limited
mbed_official 50:b08ceb75017d 3 *
mbed_official 50:b08ceb75017d 4 * Licensed under the Apache License, Version 2.0 (the "License");
mbed_official 50:b08ceb75017d 5 * you may not use this file except in compliance with the License.
mbed_official 50:b08ceb75017d 6 * You may obtain a copy of the License at
mbed_official 50:b08ceb75017d 7 *
mbed_official 50:b08ceb75017d 8 * http://www.apache.org/licenses/LICENSE-2.0
mbed_official 50:b08ceb75017d 9 *
mbed_official 50:b08ceb75017d 10 * Unless required by applicable law or agreed to in writing, software
mbed_official 50:b08ceb75017d 11 * distributed under the License is distributed on an "AS IS" BASIS,
mbed_official 50:b08ceb75017d 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
mbed_official 50:b08ceb75017d 13 * See the License for the specific language governing permissions and
mbed_official 50:b08ceb75017d 14 * limitations under the License.
mbed_official 50:b08ceb75017d 15 */
mbed_official 50:b08ceb75017d 16 #ifndef MBED_PERIPHERALNAMES_H
mbed_official 50:b08ceb75017d 17 #define MBED_PERIPHERALNAMES_H
mbed_official 50:b08ceb75017d 18
mbed_official 50:b08ceb75017d 19 #include "cmsis.h"
mbed_official 50:b08ceb75017d 20
mbed_official 50:b08ceb75017d 21 #ifdef __cplusplus
mbed_official 50:b08ceb75017d 22 extern "C" {
mbed_official 50:b08ceb75017d 23 #endif
mbed_official 50:b08ceb75017d 24
mbed_official 50:b08ceb75017d 25 // Default peripherals
mbed_official 50:b08ceb75017d 26 #define MBED_SPI0 P0_14, P0_15, P0_12, P0_13
mbed_official 50:b08ceb75017d 27
mbed_official 50:b08ceb75017d 28 #define MBED_UART0 P0_4, P0_0
mbed_official 50:b08ceb75017d 29 #define MBED_UARTUSB USBTX, USBRX
mbed_official 50:b08ceb75017d 30
mbed_official 50:b08ceb75017d 31 #define MBED_I2C0 P0_10, P0_11
mbed_official 50:b08ceb75017d 32
mbed_official 50:b08ceb75017d 33 #ifdef __cplusplus
mbed_official 50:b08ceb75017d 34 }
mbed_official 50:b08ceb75017d 35 #endif
mbed_official 50:b08ceb75017d 36
mbed_official 50:b08ceb75017d 37 #endif