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