Pablo Henrique
/
STM32F103C8T6_VL53l0x_CAN
code for read VL53l0x sensor with CAN
STM32F103C8T6_MPA/mbed/mbed.h@0:44429c0a71d4, 2019-03-18 (annotated)
- Committer:
- pablo_bmxrp
- Date:
- Mon Mar 18 22:36:03 2019 +0000
- Revision:
- 0:44429c0a71d4
adicionado CAN
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pablo_bmxrp | 0:44429c0a71d4 | 1 | /* mbed Microcontroller Library |
pablo_bmxrp | 0:44429c0a71d4 | 2 | * Copyright (c) 2006-2013 ARM Limited |
pablo_bmxrp | 0:44429c0a71d4 | 3 | * |
pablo_bmxrp | 0:44429c0a71d4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
pablo_bmxrp | 0:44429c0a71d4 | 5 | * you may not use this file except in compliance with the License. |
pablo_bmxrp | 0:44429c0a71d4 | 6 | * You may obtain a copy of the License at |
pablo_bmxrp | 0:44429c0a71d4 | 7 | * |
pablo_bmxrp | 0:44429c0a71d4 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
pablo_bmxrp | 0:44429c0a71d4 | 9 | * |
pablo_bmxrp | 0:44429c0a71d4 | 10 | * Unless required by applicable law or agreed to in writing, software |
pablo_bmxrp | 0:44429c0a71d4 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
pablo_bmxrp | 0:44429c0a71d4 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
pablo_bmxrp | 0:44429c0a71d4 | 13 | * See the License for the specific language governing permissions and |
pablo_bmxrp | 0:44429c0a71d4 | 14 | * limitations under the License. |
pablo_bmxrp | 0:44429c0a71d4 | 15 | */ |
pablo_bmxrp | 0:44429c0a71d4 | 16 | #ifndef MBED_H |
pablo_bmxrp | 0:44429c0a71d4 | 17 | #define MBED_H |
pablo_bmxrp | 0:44429c0a71d4 | 18 | |
pablo_bmxrp | 0:44429c0a71d4 | 19 | #include "platform/mbed_version.h" |
pablo_bmxrp | 0:44429c0a71d4 | 20 | |
pablo_bmxrp | 0:44429c0a71d4 | 21 | #if MBED_CONF_RTOS_PRESENT |
pablo_bmxrp | 0:44429c0a71d4 | 22 | #include "rtos/rtos.h" |
pablo_bmxrp | 0:44429c0a71d4 | 23 | #endif |
pablo_bmxrp | 0:44429c0a71d4 | 24 | |
pablo_bmxrp | 0:44429c0a71d4 | 25 | #if MBED_CONF_NSAPI_PRESENT |
pablo_bmxrp | 0:44429c0a71d4 | 26 | #include "netsocket/nsapi.h" |
pablo_bmxrp | 0:44429c0a71d4 | 27 | #include "netsocket/nsapi_ppp.h" |
pablo_bmxrp | 0:44429c0a71d4 | 28 | #endif |
pablo_bmxrp | 0:44429c0a71d4 | 29 | |
pablo_bmxrp | 0:44429c0a71d4 | 30 | #if MBED_CONF_EVENTS_PRESENT |
pablo_bmxrp | 0:44429c0a71d4 | 31 | #include "events/mbed_events.h" |
pablo_bmxrp | 0:44429c0a71d4 | 32 | #endif |
pablo_bmxrp | 0:44429c0a71d4 | 33 | |
pablo_bmxrp | 0:44429c0a71d4 | 34 | #if MBED_CONF_FILESYSTEM_PRESENT |
pablo_bmxrp | 0:44429c0a71d4 | 35 | #include "filesystem/mbed_filesystem.h" |
pablo_bmxrp | 0:44429c0a71d4 | 36 | #endif |
pablo_bmxrp | 0:44429c0a71d4 | 37 | |
pablo_bmxrp | 0:44429c0a71d4 | 38 | #include "platform/mbed_toolchain.h" |
pablo_bmxrp | 0:44429c0a71d4 | 39 | #include "platform/platform.h" |
pablo_bmxrp | 0:44429c0a71d4 | 40 | #include "platform/mbed_application.h" |
pablo_bmxrp | 0:44429c0a71d4 | 41 | |
pablo_bmxrp | 0:44429c0a71d4 | 42 | // Useful C libraries |
pablo_bmxrp | 0:44429c0a71d4 | 43 | #include <math.h> |
pablo_bmxrp | 0:44429c0a71d4 | 44 | #include <time.h> |
pablo_bmxrp | 0:44429c0a71d4 | 45 | |
pablo_bmxrp | 0:44429c0a71d4 | 46 | // mbed Debug libraries |
pablo_bmxrp | 0:44429c0a71d4 | 47 | #include "platform/mbed_error.h" |
pablo_bmxrp | 0:44429c0a71d4 | 48 | #include "platform/mbed_interface.h" |
pablo_bmxrp | 0:44429c0a71d4 | 49 | #include "platform/mbed_assert.h" |
pablo_bmxrp | 0:44429c0a71d4 | 50 | #include "platform/mbed_debug.h" |
pablo_bmxrp | 0:44429c0a71d4 | 51 | |
pablo_bmxrp | 0:44429c0a71d4 | 52 | // mbed Peripheral components |
pablo_bmxrp | 0:44429c0a71d4 | 53 | #include "drivers/DigitalIn.h" |
pablo_bmxrp | 0:44429c0a71d4 | 54 | #include "drivers/DigitalOut.h" |
pablo_bmxrp | 0:44429c0a71d4 | 55 | #include "drivers/DigitalInOut.h" |
pablo_bmxrp | 0:44429c0a71d4 | 56 | #include "drivers/BusIn.h" |
pablo_bmxrp | 0:44429c0a71d4 | 57 | #include "drivers/BusOut.h" |
pablo_bmxrp | 0:44429c0a71d4 | 58 | #include "drivers/BusInOut.h" |
pablo_bmxrp | 0:44429c0a71d4 | 59 | #include "drivers/PortIn.h" |
pablo_bmxrp | 0:44429c0a71d4 | 60 | #include "drivers/PortInOut.h" |
pablo_bmxrp | 0:44429c0a71d4 | 61 | #include "drivers/PortOut.h" |
pablo_bmxrp | 0:44429c0a71d4 | 62 | #include "drivers/AnalogIn.h" |
pablo_bmxrp | 0:44429c0a71d4 | 63 | #include "drivers/AnalogOut.h" |
pablo_bmxrp | 0:44429c0a71d4 | 64 | #include "drivers/PwmOut.h" |
pablo_bmxrp | 0:44429c0a71d4 | 65 | #include "drivers/Serial.h" |
pablo_bmxrp | 0:44429c0a71d4 | 66 | #include "drivers/SPI.h" |
pablo_bmxrp | 0:44429c0a71d4 | 67 | #include "drivers/SPISlave.h" |
pablo_bmxrp | 0:44429c0a71d4 | 68 | #include "drivers/I2C.h" |
pablo_bmxrp | 0:44429c0a71d4 | 69 | #include "drivers/I2CSlave.h" |
pablo_bmxrp | 0:44429c0a71d4 | 70 | #include "drivers/Ethernet.h" |
pablo_bmxrp | 0:44429c0a71d4 | 71 | #include "drivers/CAN.h" |
pablo_bmxrp | 0:44429c0a71d4 | 72 | #include "drivers/RawSerial.h" |
pablo_bmxrp | 0:44429c0a71d4 | 73 | #include "drivers/UARTSerial.h" |
pablo_bmxrp | 0:44429c0a71d4 | 74 | #include "drivers/FlashIAP.h" |
pablo_bmxrp | 0:44429c0a71d4 | 75 | #include "drivers/MbedCRC.h" |
pablo_bmxrp | 0:44429c0a71d4 | 76 | #include "drivers/QSPI.h" |
pablo_bmxrp | 0:44429c0a71d4 | 77 | |
pablo_bmxrp | 0:44429c0a71d4 | 78 | // mbed Internal components |
pablo_bmxrp | 0:44429c0a71d4 | 79 | #include "drivers/Timer.h" |
pablo_bmxrp | 0:44429c0a71d4 | 80 | #include "drivers/Ticker.h" |
pablo_bmxrp | 0:44429c0a71d4 | 81 | #include "drivers/Timeout.h" |
pablo_bmxrp | 0:44429c0a71d4 | 82 | #include "drivers/LowPowerTimeout.h" |
pablo_bmxrp | 0:44429c0a71d4 | 83 | #include "drivers/LowPowerTicker.h" |
pablo_bmxrp | 0:44429c0a71d4 | 84 | #include "drivers/LowPowerTimer.h" |
pablo_bmxrp | 0:44429c0a71d4 | 85 | #include "platform/LocalFileSystem.h" |
pablo_bmxrp | 0:44429c0a71d4 | 86 | #include "drivers/InterruptIn.h" |
pablo_bmxrp | 0:44429c0a71d4 | 87 | #include "platform/mbed_wait_api.h" |
pablo_bmxrp | 0:44429c0a71d4 | 88 | #include "hal/sleep_api.h" |
pablo_bmxrp | 0:44429c0a71d4 | 89 | #include "platform/mbed_power_mgmt.h" |
pablo_bmxrp | 0:44429c0a71d4 | 90 | #include "platform/mbed_rtc_time.h" |
pablo_bmxrp | 0:44429c0a71d4 | 91 | #include "platform/mbed_poll.h" |
pablo_bmxrp | 0:44429c0a71d4 | 92 | #include "platform/ATCmdParser.h" |
pablo_bmxrp | 0:44429c0a71d4 | 93 | #include "platform/FileSystemHandle.h" |
pablo_bmxrp | 0:44429c0a71d4 | 94 | #include "platform/FileHandle.h" |
pablo_bmxrp | 0:44429c0a71d4 | 95 | #include "platform/DirHandle.h" |
pablo_bmxrp | 0:44429c0a71d4 | 96 | #include "platform/CriticalSectionLock.h" |
pablo_bmxrp | 0:44429c0a71d4 | 97 | #include "platform/DeepSleepLock.h" |
pablo_bmxrp | 0:44429c0a71d4 | 98 | #include "platform/ScopedRomWriteLock.h" |
pablo_bmxrp | 0:44429c0a71d4 | 99 | #include "platform/ScopedRamExecutionLock.h" |
pablo_bmxrp | 0:44429c0a71d4 | 100 | #include "platform/mbed_stats.h" |
pablo_bmxrp | 0:44429c0a71d4 | 101 | |
pablo_bmxrp | 0:44429c0a71d4 | 102 | // mbed Non-hardware components |
pablo_bmxrp | 0:44429c0a71d4 | 103 | #include "platform/Callback.h" |
pablo_bmxrp | 0:44429c0a71d4 | 104 | #include "platform/FunctionPointer.h" |
pablo_bmxrp | 0:44429c0a71d4 | 105 | #include "platform/ScopedLock.h" |
pablo_bmxrp | 0:44429c0a71d4 | 106 | |
pablo_bmxrp | 0:44429c0a71d4 | 107 | #ifndef MBED_NO_GLOBAL_USING_DIRECTIVE |
pablo_bmxrp | 0:44429c0a71d4 | 108 | using namespace mbed; |
pablo_bmxrp | 0:44429c0a71d4 | 109 | using namespace std; |
pablo_bmxrp | 0:44429c0a71d4 | 110 | #endif |
pablo_bmxrp | 0:44429c0a71d4 | 111 | |
pablo_bmxrp | 0:44429c0a71d4 | 112 | #endif |