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@94:9ad691361fac, 2015-02-16 (annotated)
- Committer:
- Kojto
- Date:
- Mon Feb 16 16:32:49 2015 +0000
- Revision:
- 94:9ad691361fac
- Parent:
- 93:e188a91d3eaa
- Child:
- 95:7e07b6fb45cf
Release 94 of the mbed library
Main changes:
- LPC11U68 - ARM toolchain addition
- Nordic - IAR toolchain addition
- LPC8xx - I2c Slave functionality addition
- fix for HRM1017 regarding clock init
- new target - MicroNFCBoard
- exit() move to retarget
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 | 94:9ad691361fac | 19 | #define MBED_LIBRARY_VERSION 94 |
| 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" |
| bogdanm | 65:5798e58a58b1 | 57 | #include "LocalFileSystem.h" |
| bogdanm | 65:5798e58a58b1 | 58 | #include "InterruptIn.h" |
| bogdanm | 65:5798e58a58b1 | 59 | #include "wait_api.h" |
| bogdanm | 65:5798e58a58b1 | 60 | #include "sleep_api.h" |
| bogdanm | 65:5798e58a58b1 | 61 | #include "rtc_time.h" |
| bogdanm | 65:5798e58a58b1 | 62 | |
| bogdanm | 65:5798e58a58b1 | 63 | using namespace mbed; |
| bogdanm | 65:5798e58a58b1 | 64 | using namespace std; |
| bogdanm | 65:5798e58a58b1 | 65 | |
| bogdanm | 65:5798e58a58b1 | 66 | #endif |
