my fork

Dependents:   Nucleo_blueNRG

Fork of mbed by mbed official

Committer:
emilmont
Date:
Wed Apr 17 15:30:58 2013 +0100
Revision:
62:7e6c9f46b3bd
Add NXP LPC812
[KL25Z] Use channel 0 as a prescaler for channel 1
[CodeSourcery] Fix standard library retargeting removing duplicate "_isatty"
Move parse_pins in RPC module

Who changed what in which revision?

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