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:
Mon Aug 05 12:28:09 2013 +0300
Revision:
64:e3affc9e7238
Child:
66:9c8f0e3462fb
New build system structure, new target (LPC1347), bug fixes (I2C read/write errors, LPC11U24 memory map and others)

Who changed what in which revision?

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