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