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
targets/hal/TARGET_NXP/TARGET_LPC81X/device.h@47:02833c62d054, 2013-11-21 (annotated)
- Committer:
- mbed_official
- Date:
- Thu Nov 21 10:00:05 2013 +0000
- Revision:
- 47:02833c62d054
- Parent:
- 46:bebbbd80dd87
- Child:
- 64:7b352733b00a
Synchronized with git revision 6a5335a40ed97c7edd719e209bda5f3b5d9d997e
Full URL: https://github.com/mbedmicro/mbed/commit/6a5335a40ed97c7edd719e209bda5f3b5d9d997e/
Added sleep to LPC81x
Who changed what in which revision?
User | Revision | Line number | New 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 | 46:bebbbd80dd87 | 29 | |
mbed_official | 46:bebbbd80dd87 | 30 | #define DEVICE_I2C 1 |
mbed_official | 46:bebbbd80dd87 | 31 | #define DEVICE_I2CSLAVE 0 |
mbed_official | 46:bebbbd80dd87 | 32 | |
mbed_official | 46:bebbbd80dd87 | 33 | #define DEVICE_SPI 1 |
mbed_official | 46:bebbbd80dd87 | 34 | #define DEVICE_SPISLAVE 0 |
mbed_official | 46:bebbbd80dd87 | 35 | |
mbed_official | 46:bebbbd80dd87 | 36 | #define DEVICE_CAN 0 |
mbed_official | 46:bebbbd80dd87 | 37 | |
mbed_official | 46:bebbbd80dd87 | 38 | #define DEVICE_RTC 0 |
mbed_official | 46:bebbbd80dd87 | 39 | |
mbed_official | 46:bebbbd80dd87 | 40 | #define DEVICE_ETHERNET 0 |
mbed_official | 46:bebbbd80dd87 | 41 | |
mbed_official | 46:bebbbd80dd87 | 42 | #define DEVICE_PWMOUT 0 |
mbed_official | 46:bebbbd80dd87 | 43 | |
mbed_official | 46:bebbbd80dd87 | 44 | #define DEVICE_SEMIHOST 0 |
mbed_official | 46:bebbbd80dd87 | 45 | #define DEVICE_LOCALFILESYSTEM 0 |
mbed_official | 46:bebbbd80dd87 | 46 | |
mbed_official | 47:02833c62d054 | 47 | #define DEVICE_SLEEP 1 |
mbed_official | 46:bebbbd80dd87 | 48 | |
mbed_official | 46:bebbbd80dd87 | 49 | #define DEVICE_DEBUG_AWARENESS 0 |
mbed_official | 46:bebbbd80dd87 | 50 | |
mbed_official | 46:bebbbd80dd87 | 51 | #define DEVICE_STDIO_MESSAGES 0 |
mbed_official | 46:bebbbd80dd87 | 52 | |
mbed_official | 46:bebbbd80dd87 | 53 | #define DEVICE_ERROR_RED 1 |
mbed_official | 46:bebbbd80dd87 | 54 | |
mbed_official | 46:bebbbd80dd87 | 55 | #include "objects.h" |
mbed_official | 46:bebbbd80dd87 | 56 | |
mbed_official | 46:bebbbd80dd87 | 57 | #endif |