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:
emilmont
Date:
Fri Feb 14 14:36:43 2014 +0000
Revision:
77:869cf507173a
Parent:
74:a842253909c9
Release 77 of the mbed library

Main changes:
* Add target NUCLEO_F030R8
* Add target NUCLEO_F401RE
* Add target NUCLEO_F103RB
* Add target NUCLEO_L152RE

Who changed what in which revision?

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