long dao / mbed-src

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Tue Dec 16 08:15:08 2014 +0000
Revision:
440:8a0b45cd594f
Parent:
337:6ed01c00b962
Synchronized with git revision 67fbbf0b635d0c0d93fbe433306c537c2ad206aa

Full URL: https://github.com/mbedmicro/mbed/commit/67fbbf0b635d0c0d93fbe433306c537c2ad206aa/

Targets: nrf51 - updating app_timer.c from Norid'c SDKv7.1.0

Who changed what in which revision?

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