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