meh

Fork of mbed by mbed official

Committer:
ricardobtez
Date:
Tue Apr 05 23:51:21 2016 +0000
Revision:
118:16969dd821af
Parent:
90:cb3d968589d8
Child:
97:433970e64889
dgdgr

Who changed what in which revision?

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