mbed(SerialHalfDuplex入り)

Fork of mbed by mbed official

Committer:
bogdanm
Date:
Wed Mar 19 18:28:32 2014 +0000
Revision:
81:7d30d6019079
Release 81 of the mbed library

Main changes:

- Updates and fixes for many targets
- LPC1768: serial interface code fixes
- nRF51822 targets now output a .hex file
- More exporters
- More flexible GPIO API

Who changed what in which revision?

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