mbed library sources change for ST sensors and ST BLE

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Thu Apr 09 08:00:08 2015 +0100
Revision:
510:bb3effbb3493
Parent:
348:3dfac0d3ce7b
Synchronized with git revision 9ef9a549724a809142e5d9b80292843962a48c17

Full URL: https://github.com/mbedmicro/mbed/commit/9ef9a549724a809142e5d9b80292843962a48c17/

Add sleep and deepsleep for LPC11U68. Needs testing on board

Who changed what in which revision?

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