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_API_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/SPI.h"
66 #include "drivers/SPISlave.h"
67 #include "drivers/I2C.h"
68 #include "drivers/I2CSlave.h"
69 #include "drivers/CAN.h"
70 #include "drivers/UnbufferedSerial.h"
71 #include "drivers/BufferedSerial.h"
72 #include "drivers/FlashIAP.h"
73 #include "drivers/MbedCRC.h"
74 #include "drivers/QSPI.h"
75 #include "drivers/Watchdog.h"
76 
77 // mbed Internal components
78 #include "drivers/ResetReason.h"
79 #include "drivers/HighResClock.h"
80 #include "drivers/Timer.h"
81 #include "drivers/Ticker.h"
82 #include "drivers/Timeout.h"
83 #include "drivers/LowPowerClock.h"
84 #include "drivers/LowPowerTimeout.h"
85 #include "drivers/LowPowerTicker.h"
86 #include "drivers/LowPowerTimer.h"
87 #include "drivers/RealTimeClock.h"
88 #include "platform/LocalFileSystem.h"
89 #include "drivers/InterruptIn.h"
90 #include "platform/mbed_wait_api.h"
91 #include "platform/mbed_thread.h"
92 #include "hal/sleep_api.h"
93 #include "platform/mbed_atomic.h"
94 #include "platform/mbed_power_mgmt.h"
95 #include "platform/mbed_rtc_time.h"
96 #include "platform/mbed_poll.h"
97 #include "platform/ATCmdParser.h"
98 #include "platform/FileSystemHandle.h"
99 #include "platform/FileHandle.h"
100 #include "platform/DirHandle.h"
101 #include "platform/CriticalSectionLock.h"
102 #include "platform/DeepSleepLock.h"
103 #include "platform/ScopedRomWriteLock.h"
104 #include "platform/ScopedRamExecutionLock.h"
105 #include "platform/mbed_stats.h"
106 
107 // mbed Non-hardware components
108 #include "platform/Callback.h"
109 #include "platform/ScopedLock.h"
110 
111 #ifndef MBED_NO_GLOBAL_USING_DIRECTIVE
112 using namespace mbed;
113 using namespace std;
114 #endif
115 
116 #endif
Definition: ATHandler.h:46
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.