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:
Thu Dec 19 15:51:14 2013 +0200
Revision:
75:dc225afb6914
Parent:
71:8fabd470bb6e
Child:
76:824293ae5e43
Release 75 of the mbed library

Main changes:

- added UART flow control API and implementation for LPC1768 and LPC812
- NUCLEO_F103RB and KL46Z fixes

Who changed what in which revision?

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