mbed library sources

Fork of mbed-src by mbed official

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers mbed.h Source File

mbed.h

00001 /* mbed Microcontroller Library
00002  * Copyright (c) 2006-2013 ARM Limited
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 #ifndef MBED_H
00017 #define MBED_H
00018 
00019 #define MBED_LIBRARY_VERSION 104
00020 
00021 #include "platform.h"
00022 
00023 // Useful C libraries
00024 #include <math.h>
00025 #include <time.h>
00026 
00027 // mbed Debug libraries
00028 #include "mbed_error.h"
00029 #include "mbed_interface.h"
00030 
00031 // mbed Peripheral components
00032 #include "DigitalIn.h"
00033 #include "DigitalOut.h"
00034 #include "DigitalInOut.h"
00035 #include "BusIn.h"
00036 #include "BusOut.h"
00037 #include "BusInOut.h"
00038 #include "PortIn.h"
00039 #include "PortInOut.h"
00040 #include "PortOut.h"
00041 #include "AnalogIn.h"
00042 #include "AnalogOut.h"
00043 #include "PwmOut.h"
00044 #include "Serial.h"
00045 #include "SPI.h"
00046 #include "SPISlave.h"
00047 #include "I2C.h"
00048 #include "I2CSlave.h"
00049 #include "Ethernet.h"
00050 #include "CAN.h"
00051 #include "RawSerial.h"
00052 
00053 // mbed Internal components
00054 #include "Timer.h"
00055 #include "Ticker.h"
00056 #include "Timeout.h"
00057 #include "LowPowerTimeout.h"
00058 #include "LowPowerTicker.h"
00059 #include "LowPowerTimer.h"
00060 #include "LocalFileSystem.h"
00061 #include "InterruptIn.h"
00062 #include "wait_api.h"
00063 #include "sleep_api.h"
00064 #include "rtc_time.h"
00065 
00066 using namespace mbed;
00067 using namespace std;
00068 
00069 #endif