this hurts

Dependencies:   FFT

Committer:
shyamgatech
Date:
Thu Dec 03 18:15:35 2020 +0000
Revision:
7:0d62545e6d73
Parent:
0:d6c9b09b4042
addded gui mbed code;

Who changed what in which revision?

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