mbed library

Dependents:   Printf

Fork of mbed by mbed official

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