mbed library sources(for async_print)

Dependents:   AsyncPrint

Fork of mbed-src by mbed official

Committer:
SteveKim
Date:
Mon Jul 13 04:35:05 2015 +0000
Revision:
588:3825fc0ad3d1
Parent:
554:edd95c0879f8
Added async_print for test.; Please refer to the below function.; static void uart_irq(UARTName name, int id) in serial_api.c

Who changed what in which revision?

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