Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 #if MBED_CONF_RTOS_PRESENT 00020 #include "rtos/rtos.h" 00021 #endif 00022 00023 #if MBED_CONF_NSAPI_PRESENT 00024 #include "netsocket/nsapi.h" 00025 #include "netsocket/nsapi_ppp.h" 00026 #endif 00027 00028 #if MBED_CONF_EVENTS_PRESENT 00029 #include "events/mbed_events.h" 00030 #endif 00031 00032 #if MBED_CONF_FILESYSTEM_PRESENT 00033 #include "filesystem/mbed_filesystem.h" 00034 #endif 00035 00036 #include "platform/mbed_toolchain.h" 00037 #include "platform/platform.h" 00038 #include "platform/mbed_application.h" 00039 00040 // Useful C libraries 00041 #include <math.h> 00042 #include <time.h> 00043 00044 // mbed Debug libraries 00045 #include "platform/mbed_error.h" 00046 #include "platform/mbed_interface.h" 00047 #include "platform/mbed_assert.h" 00048 #include "platform/mbed_debug.h" 00049 00050 // mbed Peripheral components 00051 #include "drivers/DigitalIn.h" 00052 #include "drivers/DigitalOut.h" 00053 #include "drivers/DigitalInOut.h" 00054 #include "drivers/BusIn.h" 00055 #include "drivers/BusOut.h" 00056 #include "drivers/BusInOut.h" 00057 #include "drivers/PortIn.h" 00058 #include "drivers/PortInOut.h" 00059 #include "drivers/PortOut.h" 00060 #include "drivers/AnalogIn.h" 00061 #include "drivers/AnalogOut.h" 00062 #include "drivers/PwmOut.h" 00063 #include "drivers/Serial.h" 00064 #include "drivers/SPI.h" 00065 #include "drivers/SPISlave.h" 00066 #include "drivers/I2C.h" 00067 #include "drivers/I2CSlave.h" 00068 #include "drivers/Ethernet.h" 00069 #include "drivers/CAN.h" 00070 #include "drivers/RawSerial.h" 00071 #include "drivers/UARTSerial.h" 00072 #include "drivers/FlashIAP.h" 00073 #include "drivers/MbedCRC.h" 00074 00075 // mbed Internal components 00076 #include "drivers/Timer.h" 00077 #include "drivers/Ticker.h" 00078 #include "drivers/Timeout.h" 00079 #include "drivers/LowPowerTimeout.h" 00080 #include "drivers/LowPowerTicker.h" 00081 #include "drivers/LowPowerTimer.h" 00082 #include "platform/LocalFileSystem.h" 00083 #include "drivers/InterruptIn.h" 00084 #include "platform/mbed_wait_api.h" 00085 #include "hal/sleep_api.h" 00086 #include "platform/mbed_power_mgmt.h" 00087 #include "platform/mbed_rtc_time.h" 00088 #include "platform/mbed_poll.h" 00089 #include "platform/ATCmdParser.h" 00090 #include "platform/FileSystemHandle.h" 00091 #include "platform/FileHandle.h" 00092 #include "platform/DirHandle.h" 00093 #include "platform/CriticalSectionLock.h" 00094 #include "platform/DeepSleepLock.h" 00095 00096 // mbed Non-hardware components 00097 #include "platform/Callback.h" 00098 #include "platform/FunctionPointer.h" 00099 #include "platform/ScopedLock.h" 00100 00101 using namespace mbed; 00102 using namespace std; 00103 00104 #endif
Generated on Tue Jul 12 2022 13:30:51 by
