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