Mistake on this page?
Report an issue in GitHub or email us
mbed.h
1 /* mbed Microcontroller Library
2  * Copyright (c) 2006-2013 ARM Limited
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #ifndef MBED_H
17 #define MBED_H
18 
19 #include "platform/mbed_version.h"
20 
21 #if MBED_CONF_RTOS_PRESENT
22 #include "rtos/rtos.h"
23 #endif
24 
25 #if MBED_CONF_NSAPI_PRESENT
26 #include "netsocket/nsapi.h"
27 #include "netsocket/nsapi_ppp.h"
28 #endif
29 
30 #if MBED_CONF_EVENTS_PRESENT
31 #include "events/mbed_events.h"
32 #endif
33 
34 #if MBED_CONF_FILESYSTEM_PRESENT
35 #include "filesystem/mbed_filesystem.h"
36 #endif
37 
38 #include "platform/mbed_toolchain.h"
39 #include "platform/platform.h"
40 #include "platform/mbed_application.h"
41 
42 // Useful C libraries
43 #include <math.h>
44 #include <time.h>
45 
46 // mbed Debug libraries
47 #include "platform/mbed_error.h"
48 #include "platform/mbed_interface.h"
49 #include "platform/mbed_assert.h"
50 #include "platform/mbed_debug.h"
51 
52 // mbed Peripheral components
53 #include "drivers/DigitalIn.h"
54 #include "drivers/DigitalOut.h"
55 #include "drivers/DigitalInOut.h"
56 #include "drivers/BusIn.h"
57 #include "drivers/BusOut.h"
58 #include "drivers/BusInOut.h"
59 #include "drivers/PortIn.h"
60 #include "drivers/PortInOut.h"
61 #include "drivers/PortOut.h"
62 #include "drivers/AnalogIn.h"
63 #include "drivers/AnalogOut.h"
64 #include "drivers/PwmOut.h"
65 #include "drivers/Serial.h"
66 #include "drivers/SPI.h"
67 #include "drivers/SPISlave.h"
68 #include "drivers/I2C.h"
69 #include "drivers/I2CSlave.h"
70 #include "drivers/Ethernet.h"
71 #include "drivers/CAN.h"
72 #include "drivers/RawSerial.h"
73 #include "drivers/UARTSerial.h"
74 #include "drivers/FlashIAP.h"
75 #include "drivers/MbedCRC.h"
76 #include "drivers/QSPI.h"
77 #include "drivers/Watchdog.h"
78 
79 // mbed Internal components
80 #include "drivers/ResetReason.h"
81 #include "drivers/Timer.h"
82 #include "drivers/Ticker.h"
83 #include "drivers/Timeout.h"
84 #include "drivers/LowPowerTimeout.h"
85 #include "drivers/LowPowerTicker.h"
86 #include "drivers/LowPowerTimer.h"
87 #include "platform/LocalFileSystem.h"
88 #include "drivers/InterruptIn.h"
89 #include "platform/mbed_wait_api.h"
90 #include "hal/sleep_api.h"
91 #include "platform/mbed_atomic.h"
92 #include "platform/mbed_power_mgmt.h"
93 #include "platform/mbed_rtc_time.h"
94 #include "platform/mbed_poll.h"
95 #include "platform/ATCmdParser.h"
96 #include "platform/FileSystemHandle.h"
97 #include "platform/FileHandle.h"
98 #include "platform/DirHandle.h"
99 #include "platform/CriticalSectionLock.h"
100 #include "platform/DeepSleepLock.h"
101 #include "platform/ScopedRomWriteLock.h"
102 #include "platform/ScopedRamExecutionLock.h"
103 #include "platform/mbed_stats.h"
104 
105 // mbed Non-hardware components
106 #include "platform/Callback.h"
107 #include "platform/FunctionPointer.h"
108 #include "platform/ScopedLock.h"
109 
110 #ifndef MBED_NO_GLOBAL_USING_DIRECTIVE
111 using namespace mbed;
112 using namespace std;
113 #endif
114 
115 #endif
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.