mbed library

Dependents:   Printf

Fork of mbed by mbed official

Committer:
bogdanm
Date:
Fri Sep 12 16:41:52 2014 +0100
Revision:
89:552587b429a1
Release 89 of the mbed library

Main changes:

- low power optimizations for Nordic targets
- code structure changes for Freescale K64F targets
- bug fixes in various backends

Who changed what in which revision?

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