my fork
Fork of mbed by
TARGET_LPC812/device.h@76:824293ae5e43, 2014-01-13 (annotated)
- Committer:
- bogdanm
- Date:
- Mon Jan 13 15:31:11 2014 +0200
- Revision:
- 76:824293ae5e43
- Parent:
- 75:dc225afb6914
Release 76 of the mbed library
Main changes:
- enabled SPI slave on LPC812
- the RTOS should now work with GCC_CR (LPC1768 and LPC4088)
- GCC now uses 'hard' as the floating point ABI (arguments in floating point registers)
- Bug fixes on various platforms
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 66:9c8f0e3462fb | 1 | /* mbed Microcontroller Library |
bogdanm | 66:9c8f0e3462fb | 2 | * Copyright (c) 2006-2013 ARM Limited |
bogdanm | 66:9c8f0e3462fb | 3 | * |
bogdanm | 66:9c8f0e3462fb | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
bogdanm | 66:9c8f0e3462fb | 5 | * you may not use this file except in compliance with the License. |
bogdanm | 66:9c8f0e3462fb | 6 | * You may obtain a copy of the License at |
bogdanm | 66:9c8f0e3462fb | 7 | * |
bogdanm | 66:9c8f0e3462fb | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
bogdanm | 66:9c8f0e3462fb | 9 | * |
bogdanm | 66:9c8f0e3462fb | 10 | * Unless required by applicable law or agreed to in writing, software |
bogdanm | 66:9c8f0e3462fb | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
bogdanm | 66:9c8f0e3462fb | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
bogdanm | 66:9c8f0e3462fb | 13 | * See the License for the specific language governing permissions and |
bogdanm | 66:9c8f0e3462fb | 14 | * limitations under the License. |
bogdanm | 66:9c8f0e3462fb | 15 | */ |
bogdanm | 66:9c8f0e3462fb | 16 | #ifndef MBED_DEVICE_H |
bogdanm | 66:9c8f0e3462fb | 17 | #define MBED_DEVICE_H |
bogdanm | 66:9c8f0e3462fb | 18 | |
bogdanm | 66:9c8f0e3462fb | 19 | #define DEVICE_PORTIN 0 |
bogdanm | 66:9c8f0e3462fb | 20 | #define DEVICE_PORTOUT 0 |
bogdanm | 66:9c8f0e3462fb | 21 | #define DEVICE_PORTINOUT 0 |
bogdanm | 66:9c8f0e3462fb | 22 | |
bogdanm | 66:9c8f0e3462fb | 23 | #define DEVICE_INTERRUPTIN 1 |
bogdanm | 66:9c8f0e3462fb | 24 | |
bogdanm | 66:9c8f0e3462fb | 25 | #define DEVICE_ANALOGIN 0 |
bogdanm | 66:9c8f0e3462fb | 26 | #define DEVICE_ANALOGOUT 0 |
bogdanm | 66:9c8f0e3462fb | 27 | |
bogdanm | 66:9c8f0e3462fb | 28 | #define DEVICE_SERIAL 1 |
bogdanm | 75:dc225afb6914 | 29 | #define DEVICE_SERIAL_FC 1 |
bogdanm | 66:9c8f0e3462fb | 30 | |
bogdanm | 66:9c8f0e3462fb | 31 | #define DEVICE_I2C 1 |
bogdanm | 66:9c8f0e3462fb | 32 | #define DEVICE_I2CSLAVE 0 |
bogdanm | 66:9c8f0e3462fb | 33 | |
bogdanm | 66:9c8f0e3462fb | 34 | #define DEVICE_SPI 1 |
bogdanm | 76:824293ae5e43 | 35 | #define DEVICE_SPISLAVE 1 |
bogdanm | 66:9c8f0e3462fb | 36 | |
bogdanm | 66:9c8f0e3462fb | 37 | #define DEVICE_CAN 0 |
bogdanm | 66:9c8f0e3462fb | 38 | |
bogdanm | 66:9c8f0e3462fb | 39 | #define DEVICE_RTC 0 |
bogdanm | 66:9c8f0e3462fb | 40 | |
bogdanm | 66:9c8f0e3462fb | 41 | #define DEVICE_ETHERNET 0 |
bogdanm | 66:9c8f0e3462fb | 42 | |
bogdanm | 66:9c8f0e3462fb | 43 | #define DEVICE_PWMOUT 0 |
bogdanm | 66:9c8f0e3462fb | 44 | |
bogdanm | 66:9c8f0e3462fb | 45 | #define DEVICE_SEMIHOST 0 |
bogdanm | 66:9c8f0e3462fb | 46 | #define DEVICE_LOCALFILESYSTEM 0 |
bogdanm | 66:9c8f0e3462fb | 47 | |
bogdanm | 71:8fabd470bb6e | 48 | #define DEVICE_SLEEP 1 |
bogdanm | 66:9c8f0e3462fb | 49 | |
bogdanm | 66:9c8f0e3462fb | 50 | #define DEVICE_DEBUG_AWARENESS 0 |
bogdanm | 66:9c8f0e3462fb | 51 | |
emilmont | 69:4a7918f48478 | 52 | #define DEVICE_STDIO_MESSAGES 0 |
bogdanm | 66:9c8f0e3462fb | 53 | |
bogdanm | 66:9c8f0e3462fb | 54 | #define DEVICE_ERROR_RED 1 |
bogdanm | 66:9c8f0e3462fb | 55 | |
bogdanm | 66:9c8f0e3462fb | 56 | #include "objects.h" |
bogdanm | 66:9c8f0e3462fb | 57 | |
bogdanm | 66:9c8f0e3462fb | 58 | #endif |