mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Committer:
AnnaBridge
Date:
Wed Feb 20 22:31:08 2019 +0000
Revision:
189:f392fc9709a3
Parent:
188:bcfe06ba3d64
mbed library release version 165

Who changed what in which revision?

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