The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
mbed.h@119:aae6fcc7d9bb, 2016-04-27 (annotated)
- Committer:
- Kojto
- Date:
- Wed Apr 27 12:10:56 2016 -0500
- Revision:
- 119:aae6fcc7d9bb
- Parent:
- 118:082adc85693f
- Child:
- 120:7c328cabac7e
Release 119 of the mbed library
Changes:
- new targets - EFM32PG_STK3401, NUCLEO_L031K6
- ST - hwflwctl support for NUCLEO_L476RG
- Update STM32CUBE_L0 from v1.2 to v1.5
- STM32F7 - bugfix - The weak function HAL_Delay is overwritten to use us ticker API.
- Maxim - Fixing the send break for the MAXWSNENV and MAX32600MBED
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 119:aae6fcc7d9bb | 1 | |
bogdanm | 65:5798e58a58b1 | 2 | /* mbed Microcontroller Library |
bogdanm | 65:5798e58a58b1 | 3 | * Copyright (c) 2006-2013 ARM Limited |
bogdanm | 65:5798e58a58b1 | 4 | * |
bogdanm | 65:5798e58a58b1 | 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
bogdanm | 65:5798e58a58b1 | 6 | * you may not use this file except in compliance with the License. |
bogdanm | 65:5798e58a58b1 | 7 | * You may obtain a copy of the License at |
bogdanm | 65:5798e58a58b1 | 8 | * |
bogdanm | 65:5798e58a58b1 | 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
bogdanm | 65:5798e58a58b1 | 10 | * |
bogdanm | 65:5798e58a58b1 | 11 | * Unless required by applicable law or agreed to in writing, software |
bogdanm | 65:5798e58a58b1 | 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
bogdanm | 65:5798e58a58b1 | 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
bogdanm | 65:5798e58a58b1 | 14 | * See the License for the specific language governing permissions and |
bogdanm | 65:5798e58a58b1 | 15 | * limitations under the License. |
bogdanm | 65:5798e58a58b1 | 16 | */ |
bogdanm | 65:5798e58a58b1 | 17 | #ifndef MBED_H |
bogdanm | 65:5798e58a58b1 | 18 | #define MBED_H |
bogdanm | 65:5798e58a58b1 | 19 | |
Kojto | 119:aae6fcc7d9bb | 20 | #define MBED_LIBRARY_VERSION 119 |
bogdanm | 65:5798e58a58b1 | 21 | |
bogdanm | 65:5798e58a58b1 | 22 | #include "platform.h" |
bogdanm | 65:5798e58a58b1 | 23 | |
bogdanm | 65:5798e58a58b1 | 24 | // Useful C libraries |
bogdanm | 65:5798e58a58b1 | 25 | #include <math.h> |
bogdanm | 65:5798e58a58b1 | 26 | #include <time.h> |
bogdanm | 65:5798e58a58b1 | 27 | |
bogdanm | 65:5798e58a58b1 | 28 | // mbed Debug libraries |
bogdanm | 88:9327015d4013 | 29 | #include "mbed_error.h" |
bogdanm | 65:5798e58a58b1 | 30 | #include "mbed_interface.h" |
bogdanm | 65:5798e58a58b1 | 31 | |
bogdanm | 65:5798e58a58b1 | 32 | // mbed Peripheral components |
bogdanm | 65:5798e58a58b1 | 33 | #include "DigitalIn.h" |
bogdanm | 65:5798e58a58b1 | 34 | #include "DigitalOut.h" |
bogdanm | 65:5798e58a58b1 | 35 | #include "DigitalInOut.h" |
bogdanm | 65:5798e58a58b1 | 36 | #include "BusIn.h" |
bogdanm | 65:5798e58a58b1 | 37 | #include "BusOut.h" |
bogdanm | 65:5798e58a58b1 | 38 | #include "BusInOut.h" |
bogdanm | 65:5798e58a58b1 | 39 | #include "PortIn.h" |
bogdanm | 65:5798e58a58b1 | 40 | #include "PortInOut.h" |
bogdanm | 65:5798e58a58b1 | 41 | #include "PortOut.h" |
bogdanm | 65:5798e58a58b1 | 42 | #include "AnalogIn.h" |
bogdanm | 65:5798e58a58b1 | 43 | #include "AnalogOut.h" |
bogdanm | 65:5798e58a58b1 | 44 | #include "PwmOut.h" |
bogdanm | 65:5798e58a58b1 | 45 | #include "Serial.h" |
bogdanm | 65:5798e58a58b1 | 46 | #include "SPI.h" |
bogdanm | 65:5798e58a58b1 | 47 | #include "SPISlave.h" |
bogdanm | 65:5798e58a58b1 | 48 | #include "I2C.h" |
bogdanm | 65:5798e58a58b1 | 49 | #include "I2CSlave.h" |
bogdanm | 65:5798e58a58b1 | 50 | #include "Ethernet.h" |
bogdanm | 65:5798e58a58b1 | 51 | #include "CAN.h" |
emilmont | 69:4a7918f48478 | 52 | #include "RawSerial.h" |
bogdanm | 65:5798e58a58b1 | 53 | |
bogdanm | 65:5798e58a58b1 | 54 | // mbed Internal components |
bogdanm | 65:5798e58a58b1 | 55 | #include "Timer.h" |
bogdanm | 65:5798e58a58b1 | 56 | #include "Ticker.h" |
bogdanm | 65:5798e58a58b1 | 57 | #include "Timeout.h" |
Kojto | 98:8ab26030e058 | 58 | #include "LowPowerTimeout.h" |
Kojto | 98:8ab26030e058 | 59 | #include "LowPowerTicker.h" |
Kojto | 98:8ab26030e058 | 60 | #include "LowPowerTimer.h" |
bogdanm | 65:5798e58a58b1 | 61 | #include "LocalFileSystem.h" |
bogdanm | 65:5798e58a58b1 | 62 | #include "InterruptIn.h" |
bogdanm | 65:5798e58a58b1 | 63 | #include "wait_api.h" |
bogdanm | 65:5798e58a58b1 | 64 | #include "sleep_api.h" |
bogdanm | 65:5798e58a58b1 | 65 | #include "rtc_time.h" |
bogdanm | 65:5798e58a58b1 | 66 | |
bogdanm | 65:5798e58a58b1 | 67 | using namespace mbed; |
bogdanm | 65:5798e58a58b1 | 68 | using namespace std; |
bogdanm | 65:5798e58a58b1 | 69 | |
bogdanm | 65:5798e58a58b1 | 70 | #endif |