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