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:
Kojto
Date:
Tue Feb 16 14:28:01 2016 +0000
Revision:
114:252557024ec3
Parent:
88:9327015d4013
Child:
122:f9eeca106725
Release 114 of the mbed library

Changes:
- Atmel SAM - warnings fixes
- B96B F446VE - hw control flow addition
- Remove of GCC CW which was not active
- Remove GCC CS, not released anymore - deprecated

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 1
bogdanm 66:9c8f0e3462fb 20 #define DEVICE_PORTOUT 1
bogdanm 66:9c8f0e3462fb 21 #define DEVICE_PORTINOUT 1
bogdanm 66:9c8f0e3462fb 22
bogdanm 66:9c8f0e3462fb 23 #define DEVICE_INTERRUPTIN 1
bogdanm 66:9c8f0e3462fb 24
bogdanm 66:9c8f0e3462fb 25 #define DEVICE_ANALOGIN 1
bogdanm 66:9c8f0e3462fb 26 #define DEVICE_ANALOGOUT 0
bogdanm 66:9c8f0e3462fb 27
bogdanm 66:9c8f0e3462fb 28 #define DEVICE_SERIAL 1
bogdanm 66:9c8f0e3462fb 29
bogdanm 66:9c8f0e3462fb 30 #define DEVICE_I2C 1
bogdanm 66:9c8f0e3462fb 31 #define DEVICE_I2CSLAVE 1
bogdanm 66:9c8f0e3462fb 32
bogdanm 66:9c8f0e3462fb 33 #define DEVICE_SPI 1
bogdanm 66:9c8f0e3462fb 34 #define DEVICE_SPISLAVE 1
bogdanm 66:9c8f0e3462fb 35
bogdanm 66:9c8f0e3462fb 36 #define DEVICE_CAN 0
bogdanm 66:9c8f0e3462fb 37
bogdanm 66:9c8f0e3462fb 38 #define DEVICE_RTC 0
bogdanm 66:9c8f0e3462fb 39
bogdanm 66:9c8f0e3462fb 40 #define DEVICE_ETHERNET 0
bogdanm 66:9c8f0e3462fb 41
bogdanm 66:9c8f0e3462fb 42 #define DEVICE_PWMOUT 1
bogdanm 66:9c8f0e3462fb 43
bogdanm 88:9327015d4013 44 #define DEVICE_SEMIHOST 0
bogdanm 88:9327015d4013 45 #define DEVICE_LOCALFILESYSTEM 0
bogdanm 66:9c8f0e3462fb 46 #define DEVICE_ID_LENGTH 32
bogdanm 66:9c8f0e3462fb 47 #define DEVICE_MAC_OFFSET 20
bogdanm 66:9c8f0e3462fb 48
bogdanm 66:9c8f0e3462fb 49 #define DEVICE_SLEEP 1
bogdanm 66:9c8f0e3462fb 50
bogdanm 66:9c8f0e3462fb 51 #define DEVICE_DEBUG_AWARENESS 0
bogdanm 66:9c8f0e3462fb 52
bogdanm 66:9c8f0e3462fb 53 #define DEVICE_STDIO_MESSAGES 1
bogdanm 66:9c8f0e3462fb 54
bogdanm 66:9c8f0e3462fb 55 #define DEVICE_ERROR_PATTERN 1
bogdanm 66:9c8f0e3462fb 56
bogdanm 66:9c8f0e3462fb 57 #include "objects.h"
bogdanm 66:9c8f0e3462fb 58
bogdanm 66:9c8f0e3462fb 59 #endif