Pinned to some recent date

Committer:
Simon Cooksey
Date:
Thu Nov 17 16:43:53 2016 +0000
Revision:
0:fb7af294d5d9
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Simon Cooksey 0:fb7af294d5d9 1 /* mbed Microcontroller Library
Simon Cooksey 0:fb7af294d5d9 2 * Copyright (c) 2006-2013 ARM Limited
Simon Cooksey 0:fb7af294d5d9 3 *
Simon Cooksey 0:fb7af294d5d9 4 * Licensed under the Apache License, Version 2.0 (the "License");
Simon Cooksey 0:fb7af294d5d9 5 * you may not use this file except in compliance with the License.
Simon Cooksey 0:fb7af294d5d9 6 * You may obtain a copy of the License at
Simon Cooksey 0:fb7af294d5d9 7 *
Simon Cooksey 0:fb7af294d5d9 8 * http://www.apache.org/licenses/LICENSE-2.0
Simon Cooksey 0:fb7af294d5d9 9 *
Simon Cooksey 0:fb7af294d5d9 10 * Unless required by applicable law or agreed to in writing, software
Simon Cooksey 0:fb7af294d5d9 11 * distributed under the License is distributed on an "AS IS" BASIS,
Simon Cooksey 0:fb7af294d5d9 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Simon Cooksey 0:fb7af294d5d9 13 * See the License for the specific language governing permissions and
Simon Cooksey 0:fb7af294d5d9 14 * limitations under the License.
Simon Cooksey 0:fb7af294d5d9 15 */
Simon Cooksey 0:fb7af294d5d9 16 #ifndef MBED_H
Simon Cooksey 0:fb7af294d5d9 17 #define MBED_H
Simon Cooksey 0:fb7af294d5d9 18
Simon Cooksey 0:fb7af294d5d9 19 #define MBED_LIBRARY_VERSION 128
Simon Cooksey 0:fb7af294d5d9 20
Simon Cooksey 0:fb7af294d5d9 21 #if MBED_CONF_RTOS_PRESENT
Simon Cooksey 0:fb7af294d5d9 22 #include "rtos/rtos.h"
Simon Cooksey 0:fb7af294d5d9 23 #endif
Simon Cooksey 0:fb7af294d5d9 24
Simon Cooksey 0:fb7af294d5d9 25 #if MBED_CONF_NSAPI_PRESENT
Simon Cooksey 0:fb7af294d5d9 26 #include "netsocket/nsapi.h"
Simon Cooksey 0:fb7af294d5d9 27 #endif
Simon Cooksey 0:fb7af294d5d9 28
Simon Cooksey 0:fb7af294d5d9 29 #if MBED_CONF_EVENTS_PRESENT
Simon Cooksey 0:fb7af294d5d9 30 #include "events/mbed_events.h"
Simon Cooksey 0:fb7af294d5d9 31 #endif
Simon Cooksey 0:fb7af294d5d9 32
Simon Cooksey 0:fb7af294d5d9 33 #include "platform/toolchain.h"
Simon Cooksey 0:fb7af294d5d9 34 #include "platform/platform.h"
Simon Cooksey 0:fb7af294d5d9 35
Simon Cooksey 0:fb7af294d5d9 36 // Useful C libraries
Simon Cooksey 0:fb7af294d5d9 37 #include <math.h>
Simon Cooksey 0:fb7af294d5d9 38 #include <time.h>
Simon Cooksey 0:fb7af294d5d9 39
Simon Cooksey 0:fb7af294d5d9 40 // mbed Debug libraries
Simon Cooksey 0:fb7af294d5d9 41 #include "platform/mbed_error.h"
Simon Cooksey 0:fb7af294d5d9 42 #include "platform/mbed_interface.h"
Simon Cooksey 0:fb7af294d5d9 43 #include "platform/mbed_assert.h"
Simon Cooksey 0:fb7af294d5d9 44
Simon Cooksey 0:fb7af294d5d9 45 // mbed Peripheral components
Simon Cooksey 0:fb7af294d5d9 46 #include "drivers/DigitalIn.h"
Simon Cooksey 0:fb7af294d5d9 47 #include "drivers/DigitalOut.h"
Simon Cooksey 0:fb7af294d5d9 48 #include "drivers/DigitalInOut.h"
Simon Cooksey 0:fb7af294d5d9 49 #include "drivers/BusIn.h"
Simon Cooksey 0:fb7af294d5d9 50 #include "drivers/BusOut.h"
Simon Cooksey 0:fb7af294d5d9 51 #include "drivers/BusInOut.h"
Simon Cooksey 0:fb7af294d5d9 52 #include "drivers/PortIn.h"
Simon Cooksey 0:fb7af294d5d9 53 #include "drivers/PortInOut.h"
Simon Cooksey 0:fb7af294d5d9 54 #include "drivers/PortOut.h"
Simon Cooksey 0:fb7af294d5d9 55 #include "drivers/AnalogIn.h"
Simon Cooksey 0:fb7af294d5d9 56 #include "drivers/AnalogOut.h"
Simon Cooksey 0:fb7af294d5d9 57 #include "drivers/PwmOut.h"
Simon Cooksey 0:fb7af294d5d9 58 #include "drivers/Serial.h"
Simon Cooksey 0:fb7af294d5d9 59 #include "drivers/SPI.h"
Simon Cooksey 0:fb7af294d5d9 60 #include "drivers/SPISlave.h"
Simon Cooksey 0:fb7af294d5d9 61 #include "drivers/I2C.h"
Simon Cooksey 0:fb7af294d5d9 62 #include "drivers/I2CSlave.h"
Simon Cooksey 0:fb7af294d5d9 63 #include "drivers/Ethernet.h"
Simon Cooksey 0:fb7af294d5d9 64 #include "drivers/CAN.h"
Simon Cooksey 0:fb7af294d5d9 65 #include "drivers/RawSerial.h"
Simon Cooksey 0:fb7af294d5d9 66
Simon Cooksey 0:fb7af294d5d9 67 // mbed Internal components
Simon Cooksey 0:fb7af294d5d9 68 #include "drivers/Timer.h"
Simon Cooksey 0:fb7af294d5d9 69 #include "drivers/Ticker.h"
Simon Cooksey 0:fb7af294d5d9 70 #include "drivers/Timeout.h"
Simon Cooksey 0:fb7af294d5d9 71 #include "drivers/LowPowerTimeout.h"
Simon Cooksey 0:fb7af294d5d9 72 #include "drivers/LowPowerTicker.h"
Simon Cooksey 0:fb7af294d5d9 73 #include "drivers/LowPowerTimer.h"
Simon Cooksey 0:fb7af294d5d9 74 #include "drivers/LocalFileSystem.h"
Simon Cooksey 0:fb7af294d5d9 75 #include "drivers/InterruptIn.h"
Simon Cooksey 0:fb7af294d5d9 76 #include "platform/wait_api.h"
Simon Cooksey 0:fb7af294d5d9 77 #include "hal/sleep_api.h"
Simon Cooksey 0:fb7af294d5d9 78 #include "platform/rtc_time.h"
Simon Cooksey 0:fb7af294d5d9 79
Simon Cooksey 0:fb7af294d5d9 80 // mbed Non-hardware components
Simon Cooksey 0:fb7af294d5d9 81 #include "platform/Callback.h"
Simon Cooksey 0:fb7af294d5d9 82 #include "platform/FunctionPointer.h"
Simon Cooksey 0:fb7af294d5d9 83
Simon Cooksey 0:fb7af294d5d9 84 using namespace mbed;
Simon Cooksey 0:fb7af294d5d9 85 using namespace std;
Simon Cooksey 0:fb7af294d5d9 86
Simon Cooksey 0:fb7af294d5d9 87 #endif