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.
Fork of mbed by
mbed.h@101:7cff1c4259d7, 2015-06-09 (annotated)
- Committer:
- Kojto
- Date:
- Tue Jun 09 14:29:26 2015 +0100
- Revision:
- 101:7cff1c4259d7
- Parent:
- 100:cbbeb26dbd92
Release 101 of the mbed library
Changes:
- new platform: APPNEARME_MICRONFCBOARD, MTS_DRAGONFLY_F411RE, MAX32600MBED, WIZwiki_W7500
- Silabs memory optimization in gpio, pwm fixes
- SPI - ssel documentation fixes and its use
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 65:5798e58a58b1 | 1 | /* mbed Microcontroller Library |
bogdanm | 65:5798e58a58b1 | 2 | * Copyright (c) 2006-2013 ARM Limited |
bogdanm | 65:5798e58a58b1 | 3 | * |
bogdanm | 65:5798e58a58b1 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
bogdanm | 65:5798e58a58b1 | 5 | * you may not use this file except in compliance with the License. |
bogdanm | 65:5798e58a58b1 | 6 | * You may obtain a copy of the License at |
bogdanm | 65:5798e58a58b1 | 7 | * |
bogdanm | 65:5798e58a58b1 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
bogdanm | 65:5798e58a58b1 | 9 | * |
bogdanm | 65:5798e58a58b1 | 10 | * Unless required by applicable law or agreed to in writing, software |
bogdanm | 65:5798e58a58b1 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
bogdanm | 65:5798e58a58b1 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
bogdanm | 65:5798e58a58b1 | 13 | * See the License for the specific language governing permissions and |
bogdanm | 65:5798e58a58b1 | 14 | * limitations under the License. |
bogdanm | 65:5798e58a58b1 | 15 | */ |
bogdanm | 65:5798e58a58b1 | 16 | #ifndef MBED_H |
bogdanm | 65:5798e58a58b1 | 17 | #define MBED_H |
bogdanm | 65:5798e58a58b1 | 18 | |
Kojto | 101:7cff1c4259d7 | 19 | #define MBED_LIBRARY_VERSION 101 |
bogdanm | 65:5798e58a58b1 | 20 | |
bogdanm | 65:5798e58a58b1 | 21 | #include "platform.h" |
bogdanm | 65:5798e58a58b1 | 22 | |
bogdanm | 65:5798e58a58b1 | 23 | // Useful C libraries |
bogdanm | 65:5798e58a58b1 | 24 | #include <math.h> |
bogdanm | 65:5798e58a58b1 | 25 | #include <time.h> |
bogdanm | 65:5798e58a58b1 | 26 | |
bogdanm | 65:5798e58a58b1 | 27 | // mbed Debug libraries |
bogdanm | 88:9327015d4013 | 28 | #include "mbed_error.h" |
bogdanm | 65:5798e58a58b1 | 29 | #include "mbed_interface.h" |
bogdanm | 65:5798e58a58b1 | 30 | |
bogdanm | 65:5798e58a58b1 | 31 | // mbed Peripheral components |
bogdanm | 65:5798e58a58b1 | 32 | #include "DigitalIn.h" |
bogdanm | 65:5798e58a58b1 | 33 | #include "DigitalOut.h" |
bogdanm | 65:5798e58a58b1 | 34 | #include "DigitalInOut.h" |
bogdanm | 65:5798e58a58b1 | 35 | #include "BusIn.h" |
bogdanm | 65:5798e58a58b1 | 36 | #include "BusOut.h" |
bogdanm | 65:5798e58a58b1 | 37 | #include "BusInOut.h" |
bogdanm | 65:5798e58a58b1 | 38 | #include "PortIn.h" |
bogdanm | 65:5798e58a58b1 | 39 | #include "PortInOut.h" |
bogdanm | 65:5798e58a58b1 | 40 | #include "PortOut.h" |
bogdanm | 65:5798e58a58b1 | 41 | #include "AnalogIn.h" |
bogdanm | 65:5798e58a58b1 | 42 | #include "AnalogOut.h" |
bogdanm | 65:5798e58a58b1 | 43 | #include "PwmOut.h" |
bogdanm | 65:5798e58a58b1 | 44 | #include "Serial.h" |
bogdanm | 65:5798e58a58b1 | 45 | #include "SPI.h" |
bogdanm | 65:5798e58a58b1 | 46 | #include "SPISlave.h" |
bogdanm | 65:5798e58a58b1 | 47 | #include "I2C.h" |
bogdanm | 65:5798e58a58b1 | 48 | #include "I2CSlave.h" |
bogdanm | 65:5798e58a58b1 | 49 | #include "Ethernet.h" |
bogdanm | 65:5798e58a58b1 | 50 | #include "CAN.h" |
emilmont | 69:4a7918f48478 | 51 | #include "RawSerial.h" |
bogdanm | 65:5798e58a58b1 | 52 | |
bogdanm | 65:5798e58a58b1 | 53 | // mbed Internal components |
bogdanm | 65:5798e58a58b1 | 54 | #include "Timer.h" |
bogdanm | 65:5798e58a58b1 | 55 | #include "Ticker.h" |
bogdanm | 65:5798e58a58b1 | 56 | #include "Timeout.h" |
Kojto | 98:8ab26030e058 | 57 | #include "LowPowerTimeout.h" |
Kojto | 98:8ab26030e058 | 58 | #include "LowPowerTicker.h" |
Kojto | 98:8ab26030e058 | 59 | #include "LowPowerTimer.h" |
bogdanm | 65:5798e58a58b1 | 60 | #include "LocalFileSystem.h" |
bogdanm | 65:5798e58a58b1 | 61 | #include "InterruptIn.h" |
bogdanm | 65:5798e58a58b1 | 62 | #include "wait_api.h" |
bogdanm | 65:5798e58a58b1 | 63 | #include "sleep_api.h" |
bogdanm | 65:5798e58a58b1 | 64 | #include "rtc_time.h" |
bogdanm | 65:5798e58a58b1 | 65 | |
bogdanm | 65:5798e58a58b1 | 66 | using namespace mbed; |
bogdanm | 65:5798e58a58b1 | 67 | using namespace std; |
bogdanm | 65:5798e58a58b1 | 68 | |
bogdanm | 65:5798e58a58b1 | 69 | #endif |