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 Feb 11 15:00:06 2014 +0000
Revision:
89:9655231f5786
Parent:
85:e1a8e879a6a9
Synchronized with git revision 17499c34d273f02497e0706d3abc516b12f3fc62

Full URL: https://github.com/mbedmicro/mbed/commit/17499c34d273f02497e0706d3abc516b12f3fc62/

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 85:e1a8e879a6a9 1 /* mbed Microcontroller Library
mbed_official 85:e1a8e879a6a9 2 * Copyright (c) 2006-2013 ARM Limited
mbed_official 85:e1a8e879a6a9 3 *
mbed_official 85:e1a8e879a6a9 4 * Licensed under the Apache License, Version 2.0 (the "License");
mbed_official 85:e1a8e879a6a9 5 * you may not use this file except in compliance with the License.
mbed_official 85:e1a8e879a6a9 6 * You may obtain a copy of the License at
mbed_official 85:e1a8e879a6a9 7 *
mbed_official 85:e1a8e879a6a9 8 * http://www.apache.org/licenses/LICENSE-2.0
mbed_official 85:e1a8e879a6a9 9 *
mbed_official 85:e1a8e879a6a9 10 * Unless required by applicable law or agreed to in writing, software
mbed_official 85:e1a8e879a6a9 11 * distributed under the License is distributed on an "AS IS" BASIS,
mbed_official 85:e1a8e879a6a9 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
mbed_official 85:e1a8e879a6a9 13 * See the License for the specific language governing permissions and
mbed_official 85:e1a8e879a6a9 14 * limitations under the License.
mbed_official 85:e1a8e879a6a9 15 */
mbed_official 85:e1a8e879a6a9 16 #ifndef MBED_DEVICE_H
mbed_official 85:e1a8e879a6a9 17 #define MBED_DEVICE_H
mbed_official 85:e1a8e879a6a9 18
mbed_official 85:e1a8e879a6a9 19 #define DEVICE_PORTIN 1
mbed_official 85:e1a8e879a6a9 20 #define DEVICE_PORTOUT 1
mbed_official 85:e1a8e879a6a9 21 #define DEVICE_PORTINOUT 1
mbed_official 85:e1a8e879a6a9 22
mbed_official 85:e1a8e879a6a9 23 #define DEVICE_INTERRUPTIN 1
mbed_official 85:e1a8e879a6a9 24
mbed_official 85:e1a8e879a6a9 25 #define DEVICE_ANALOGIN 1
mbed_official 85:e1a8e879a6a9 26 #define DEVICE_ANALOGOUT 0
mbed_official 85:e1a8e879a6a9 27
mbed_official 85:e1a8e879a6a9 28 #define DEVICE_SERIAL 1
mbed_official 85:e1a8e879a6a9 29
mbed_official 85:e1a8e879a6a9 30 #define DEVICE_I2C 1
mbed_official 85:e1a8e879a6a9 31 #define DEVICE_I2CSLAVE 0
mbed_official 85:e1a8e879a6a9 32
mbed_official 85:e1a8e879a6a9 33 #define DEVICE_SPI 1
mbed_official 85:e1a8e879a6a9 34 #define DEVICE_SPISLAVE 1
mbed_official 85:e1a8e879a6a9 35
mbed_official 85:e1a8e879a6a9 36 #define DEVICE_CAN 0
mbed_official 85:e1a8e879a6a9 37
mbed_official 85:e1a8e879a6a9 38 #define DEVICE_RTC 0
mbed_official 85:e1a8e879a6a9 39
mbed_official 85:e1a8e879a6a9 40 #define DEVICE_ETHERNET 0
mbed_official 85:e1a8e879a6a9 41
mbed_official 85:e1a8e879a6a9 42 #define DEVICE_PWMOUT 1
mbed_official 85:e1a8e879a6a9 43
mbed_official 85:e1a8e879a6a9 44 #define DEVICE_SEMIHOST 0
mbed_official 85:e1a8e879a6a9 45 #define DEVICE_LOCALFILESYSTEM 0
mbed_official 85:e1a8e879a6a9 46
mbed_official 85:e1a8e879a6a9 47 #define DEVICE_SLEEP 1
mbed_official 85:e1a8e879a6a9 48
mbed_official 85:e1a8e879a6a9 49 #define DEVICE_DEBUG_AWARENESS 0
mbed_official 85:e1a8e879a6a9 50
mbed_official 85:e1a8e879a6a9 51 #define DEVICE_STDIO_MESSAGES 0
mbed_official 85:e1a8e879a6a9 52
mbed_official 85:e1a8e879a6a9 53 #include "objects.h"
mbed_official 85:e1a8e879a6a9 54
mbed_official 85:e1a8e879a6a9 55 #endif