dhgdh
Dependencies: MAX44000 PWM_Tone_Library nexpaq_mdk
Fork of LED_Demo by
mbd_os/hal/api/mbed.h@1:55a6170b404f, 2016-09-17 (annotated)
- Committer:
- nexpaq
- Date:
- Sat Sep 17 16:32:05 2016 +0000
- Revision:
- 1:55a6170b404f
checking in for sharing
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nexpaq | 1:55a6170b404f | 1 | /* mbed Microcontroller Library |
nexpaq | 1:55a6170b404f | 2 | * Copyright (c) 2006-2013 ARM Limited |
nexpaq | 1:55a6170b404f | 3 | * |
nexpaq | 1:55a6170b404f | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
nexpaq | 1:55a6170b404f | 5 | * you may not use this file except in compliance with the License. |
nexpaq | 1:55a6170b404f | 6 | * You may obtain a copy of the License at |
nexpaq | 1:55a6170b404f | 7 | * |
nexpaq | 1:55a6170b404f | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
nexpaq | 1:55a6170b404f | 9 | * |
nexpaq | 1:55a6170b404f | 10 | * Unless required by applicable law or agreed to in writing, software |
nexpaq | 1:55a6170b404f | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
nexpaq | 1:55a6170b404f | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
nexpaq | 1:55a6170b404f | 13 | * See the License for the specific language governing permissions and |
nexpaq | 1:55a6170b404f | 14 | * limitations under the License. |
nexpaq | 1:55a6170b404f | 15 | */ |
nexpaq | 1:55a6170b404f | 16 | #ifndef MBED_H |
nexpaq | 1:55a6170b404f | 17 | #define MBED_H |
nexpaq | 1:55a6170b404f | 18 | |
nexpaq | 1:55a6170b404f | 19 | #define MBED_LIBRARY_VERSION 123 |
nexpaq | 1:55a6170b404f | 20 | |
nexpaq | 1:55a6170b404f | 21 | #if MBED_CONF_RTOS_PRESENT |
nexpaq | 1:55a6170b404f | 22 | #include "rtos/rtos.h" |
nexpaq | 1:55a6170b404f | 23 | #endif |
nexpaq | 1:55a6170b404f | 24 | |
nexpaq | 1:55a6170b404f | 25 | #if MBED_CONF_NSAPI_PRESENT |
nexpaq | 1:55a6170b404f | 26 | #include "network-socket/nsapi.h" |
nexpaq | 1:55a6170b404f | 27 | #endif |
nexpaq | 1:55a6170b404f | 28 | |
nexpaq | 1:55a6170b404f | 29 | #include "toolchain.h" |
nexpaq | 1:55a6170b404f | 30 | #include "platform.h" |
nexpaq | 1:55a6170b404f | 31 | |
nexpaq | 1:55a6170b404f | 32 | // Useful C libraries |
nexpaq | 1:55a6170b404f | 33 | #include <math.h> |
nexpaq | 1:55a6170b404f | 34 | #include <time.h> |
nexpaq | 1:55a6170b404f | 35 | |
nexpaq | 1:55a6170b404f | 36 | // mbed Debug libraries |
nexpaq | 1:55a6170b404f | 37 | #include "mbed_error.h" |
nexpaq | 1:55a6170b404f | 38 | #include "mbed_interface.h" |
nexpaq | 1:55a6170b404f | 39 | #include "mbed_assert.h" |
nexpaq | 1:55a6170b404f | 40 | |
nexpaq | 1:55a6170b404f | 41 | // mbed Peripheral components |
nexpaq | 1:55a6170b404f | 42 | #include "DigitalIn.h" |
nexpaq | 1:55a6170b404f | 43 | #include "DigitalOut.h" |
nexpaq | 1:55a6170b404f | 44 | #include "DigitalInOut.h" |
nexpaq | 1:55a6170b404f | 45 | #include "BusIn.h" |
nexpaq | 1:55a6170b404f | 46 | #include "BusOut.h" |
nexpaq | 1:55a6170b404f | 47 | #include "BusInOut.h" |
nexpaq | 1:55a6170b404f | 48 | #include "PortIn.h" |
nexpaq | 1:55a6170b404f | 49 | #include "PortInOut.h" |
nexpaq | 1:55a6170b404f | 50 | #include "PortOut.h" |
nexpaq | 1:55a6170b404f | 51 | #include "AnalogIn.h" |
nexpaq | 1:55a6170b404f | 52 | #include "AnalogOut.h" |
nexpaq | 1:55a6170b404f | 53 | #include "PwmOut.h" |
nexpaq | 1:55a6170b404f | 54 | #include "Serial.h" |
nexpaq | 1:55a6170b404f | 55 | #include "SPI.h" |
nexpaq | 1:55a6170b404f | 56 | #include "SPISlave.h" |
nexpaq | 1:55a6170b404f | 57 | #include "I2C.h" |
nexpaq | 1:55a6170b404f | 58 | #include "I2CSlave.h" |
nexpaq | 1:55a6170b404f | 59 | #include "Ethernet.h" |
nexpaq | 1:55a6170b404f | 60 | #include "CAN.h" |
nexpaq | 1:55a6170b404f | 61 | #include "RawSerial.h" |
nexpaq | 1:55a6170b404f | 62 | |
nexpaq | 1:55a6170b404f | 63 | // mbed Internal components |
nexpaq | 1:55a6170b404f | 64 | #include "Timer.h" |
nexpaq | 1:55a6170b404f | 65 | #include "Ticker.h" |
nexpaq | 1:55a6170b404f | 66 | #include "Timeout.h" |
nexpaq | 1:55a6170b404f | 67 | #include "LowPowerTimeout.h" |
nexpaq | 1:55a6170b404f | 68 | #include "LowPowerTicker.h" |
nexpaq | 1:55a6170b404f | 69 | #include "LowPowerTimer.h" |
nexpaq | 1:55a6170b404f | 70 | #include "LocalFileSystem.h" |
nexpaq | 1:55a6170b404f | 71 | #include "InterruptIn.h" |
nexpaq | 1:55a6170b404f | 72 | #include "wait_api.h" |
nexpaq | 1:55a6170b404f | 73 | #include "sleep_api.h" |
nexpaq | 1:55a6170b404f | 74 | #include "rtc_time.h" |
nexpaq | 1:55a6170b404f | 75 | |
nexpaq | 1:55a6170b404f | 76 | // mbed Non-hardware components |
nexpaq | 1:55a6170b404f | 77 | #include "Callback.h" |
nexpaq | 1:55a6170b404f | 78 | #include "FunctionPointer.h" |
nexpaq | 1:55a6170b404f | 79 | |
nexpaq | 1:55a6170b404f | 80 | using namespace mbed; |
nexpaq | 1:55a6170b404f | 81 | using namespace std; |
nexpaq | 1:55a6170b404f | 82 | |
nexpaq | 1:55a6170b404f | 83 | #endif |