Official Sheffield ARMBand micro:bit program
microbit/microbit-dal/mbed-dev-bin/mbed.h@0:b9164b348919, 2016-10-17 (annotated)
- Committer:
- MrBedfordVan
- Date:
- Mon Oct 17 12:41:20 2016 +0000
- Revision:
- 0:b9164b348919
Official Sheffield ARMBand Micro:bit program
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
MrBedfordVan | 0:b9164b348919 | 1 | /* mbed Microcontroller Library |
MrBedfordVan | 0:b9164b348919 | 2 | * Copyright (c) 2006-2013 ARM Limited |
MrBedfordVan | 0:b9164b348919 | 3 | * |
MrBedfordVan | 0:b9164b348919 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
MrBedfordVan | 0:b9164b348919 | 5 | * you may not use this file except in compliance with the License. |
MrBedfordVan | 0:b9164b348919 | 6 | * You may obtain a copy of the License at |
MrBedfordVan | 0:b9164b348919 | 7 | * |
MrBedfordVan | 0:b9164b348919 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
MrBedfordVan | 0:b9164b348919 | 9 | * |
MrBedfordVan | 0:b9164b348919 | 10 | * Unless required by applicable law or agreed to in writing, software |
MrBedfordVan | 0:b9164b348919 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
MrBedfordVan | 0:b9164b348919 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
MrBedfordVan | 0:b9164b348919 | 13 | * See the License for the specific language governing permissions and |
MrBedfordVan | 0:b9164b348919 | 14 | * limitations under the License. |
MrBedfordVan | 0:b9164b348919 | 15 | */ |
MrBedfordVan | 0:b9164b348919 | 16 | #ifndef MBED_H |
MrBedfordVan | 0:b9164b348919 | 17 | #define MBED_H |
MrBedfordVan | 0:b9164b348919 | 18 | |
MrBedfordVan | 0:b9164b348919 | 19 | #define MBED_LIBRARY_VERSION 103 |
MrBedfordVan | 0:b9164b348919 | 20 | |
MrBedfordVan | 0:b9164b348919 | 21 | #include "platform.h" |
MrBedfordVan | 0:b9164b348919 | 22 | |
MrBedfordVan | 0:b9164b348919 | 23 | // Useful C libraries |
MrBedfordVan | 0:b9164b348919 | 24 | #include <math.h> |
MrBedfordVan | 0:b9164b348919 | 25 | #include <time.h> |
MrBedfordVan | 0:b9164b348919 | 26 | |
MrBedfordVan | 0:b9164b348919 | 27 | // mbed Debug libraries |
MrBedfordVan | 0:b9164b348919 | 28 | #include "mbed_error.h" |
MrBedfordVan | 0:b9164b348919 | 29 | #include "mbed_interface.h" |
MrBedfordVan | 0:b9164b348919 | 30 | |
MrBedfordVan | 0:b9164b348919 | 31 | // mbed Peripheral components |
MrBedfordVan | 0:b9164b348919 | 32 | #include "DigitalIn.h" |
MrBedfordVan | 0:b9164b348919 | 33 | #include "DigitalOut.h" |
MrBedfordVan | 0:b9164b348919 | 34 | #include "DigitalInOut.h" |
MrBedfordVan | 0:b9164b348919 | 35 | #include "BusIn.h" |
MrBedfordVan | 0:b9164b348919 | 36 | #include "BusOut.h" |
MrBedfordVan | 0:b9164b348919 | 37 | #include "BusInOut.h" |
MrBedfordVan | 0:b9164b348919 | 38 | #include "PortIn.h" |
MrBedfordVan | 0:b9164b348919 | 39 | #include "PortInOut.h" |
MrBedfordVan | 0:b9164b348919 | 40 | #include "PortOut.h" |
MrBedfordVan | 0:b9164b348919 | 41 | #include "AnalogIn.h" |
MrBedfordVan | 0:b9164b348919 | 42 | #include "AnalogOut.h" |
MrBedfordVan | 0:b9164b348919 | 43 | #include "PwmOut.h" |
MrBedfordVan | 0:b9164b348919 | 44 | #include "Serial.h" |
MrBedfordVan | 0:b9164b348919 | 45 | #include "SPI.h" |
MrBedfordVan | 0:b9164b348919 | 46 | #include "SPISlave.h" |
MrBedfordVan | 0:b9164b348919 | 47 | #include "I2C.h" |
MrBedfordVan | 0:b9164b348919 | 48 | #include "I2CSlave.h" |
MrBedfordVan | 0:b9164b348919 | 49 | #include "Ethernet.h" |
MrBedfordVan | 0:b9164b348919 | 50 | #include "CAN.h" |
MrBedfordVan | 0:b9164b348919 | 51 | #include "RawSerial.h" |
MrBedfordVan | 0:b9164b348919 | 52 | |
MrBedfordVan | 0:b9164b348919 | 53 | // mbed Internal components |
MrBedfordVan | 0:b9164b348919 | 54 | #include "Timer.h" |
MrBedfordVan | 0:b9164b348919 | 55 | #include "Ticker.h" |
MrBedfordVan | 0:b9164b348919 | 56 | #include "Timeout.h" |
MrBedfordVan | 0:b9164b348919 | 57 | #include "LowPowerTimeout.h" |
MrBedfordVan | 0:b9164b348919 | 58 | #include "LowPowerTicker.h" |
MrBedfordVan | 0:b9164b348919 | 59 | #include "LowPowerTimer.h" |
MrBedfordVan | 0:b9164b348919 | 60 | #include "LocalFileSystem.h" |
MrBedfordVan | 0:b9164b348919 | 61 | #include "InterruptIn.h" |
MrBedfordVan | 0:b9164b348919 | 62 | #include "wait_api.h" |
MrBedfordVan | 0:b9164b348919 | 63 | #include "sleep_api.h" |
MrBedfordVan | 0:b9164b348919 | 64 | #include "rtc_time.h" |
MrBedfordVan | 0:b9164b348919 | 65 | |
MrBedfordVan | 0:b9164b348919 | 66 | using namespace mbed; |
MrBedfordVan | 0:b9164b348919 | 67 | using namespace std; |
MrBedfordVan | 0:b9164b348919 | 68 | |
MrBedfordVan | 0:b9164b348919 | 69 | #endif |