This fork of the MBED Library allows you to use counters on the external counter pins (15/16 for Timer 3, 29/30 for Timer 2) by switching internal timing functions in MBED to utilize Timer 0

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Tue Dec 31 15:30:05 2013 +0000
Revision:
69:49e45cb70de1
Parent:
64:7b352733b00a
Synchronized with git revision b311c56b44e2f3d58c5a425453fba9dfaa0b13e3

Full URL: https://github.com/mbedmicro/mbed/commit/b311c56b44e2f3d58c5a425453fba9dfaa0b13e3/

[LPC812] Add SPISlave function

Who changed what in which revision?

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