mbed library sources change for ST sensors and ST BLE

Fork of mbed-src by mbed official

Committer:
NickZhouARM
Date:
Thu Apr 14 07:07:44 2016 +0000
Revision:
636:83ea0d2b909b
Parent:
13:0645d8841f51
Working version for ST BLE + Sensors

Who changed what in which revision?

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