游戏王对战板,目前code还是空的

Committer:
WFKnight
Date:
Thu Jun 21 13:51:43 2018 +0000
Revision:
0:9b3d4731edbb
UART, RTOS, LED

Who changed what in which revision?

UserRevisionLine numberNew contents of line
WFKnight 0:9b3d4731edbb 1 /* mbed Microcontroller Library
WFKnight 0:9b3d4731edbb 2 * Copyright (c) 2017-2017 ARM Limited
WFKnight 0:9b3d4731edbb 3 *
WFKnight 0:9b3d4731edbb 4 * Licensed under the Apache License, Version 2.0 (the "License");
WFKnight 0:9b3d4731edbb 5 * you may not use this file except in compliance with the License.
WFKnight 0:9b3d4731edbb 6 * You may obtain a copy of the License at
WFKnight 0:9b3d4731edbb 7 *
WFKnight 0:9b3d4731edbb 8 * http://www.apache.org/licenses/LICENSE-2.0
WFKnight 0:9b3d4731edbb 9 *
WFKnight 0:9b3d4731edbb 10 * Unless required by applicable law or agreed to in writing, software
WFKnight 0:9b3d4731edbb 11 * distributed under the License is distributed on an "AS IS" BASIS,
WFKnight 0:9b3d4731edbb 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WFKnight 0:9b3d4731edbb 13 * See the License for the specific language governing permissions and
WFKnight 0:9b3d4731edbb 14 * limitations under the License.
WFKnight 0:9b3d4731edbb 15 */
WFKnight 0:9b3d4731edbb 16
WFKnight 0:9b3d4731edbb 17 #ifndef MBED_APPLICATION_H
WFKnight 0:9b3d4731edbb 18 #define MBED_APPLICATION_H
WFKnight 0:9b3d4731edbb 19
WFKnight 0:9b3d4731edbb 20 #include<stdint.h>
WFKnight 0:9b3d4731edbb 21
WFKnight 0:9b3d4731edbb 22 #if defined(__CORTEX_M3) || defined(__CORTEX_M4) || defined(__CORTEX_M7)\
WFKnight 0:9b3d4731edbb 23 || defined(__CORTEX_M23)
WFKnight 0:9b3d4731edbb 24 #define MBED_APPLICATION_SUPPORT 1
WFKnight 0:9b3d4731edbb 25 #else
WFKnight 0:9b3d4731edbb 26 #define MBED_APPLICATION_SUPPORT 0
WFKnight 0:9b3d4731edbb 27 #endif
WFKnight 0:9b3d4731edbb 28
WFKnight 0:9b3d4731edbb 29 #if MBED_APPLICATION_SUPPORT
WFKnight 0:9b3d4731edbb 30 #ifdef __cplusplus
WFKnight 0:9b3d4731edbb 31 extern "C" {
WFKnight 0:9b3d4731edbb 32 #endif
WFKnight 0:9b3d4731edbb 33
WFKnight 0:9b3d4731edbb 34 /**
WFKnight 0:9b3d4731edbb 35 * Start the application at the given address. This function does
WFKnight 0:9b3d4731edbb 36 * not return. It is the applications responsibility for flushing to
WFKnight 0:9b3d4731edbb 37 * or powering down external components such as filesystems or
WFKnight 0:9b3d4731edbb 38 * socket connections before calling this function. For Cortex-M
WFKnight 0:9b3d4731edbb 39 * devices this function powers down generic system components such as
WFKnight 0:9b3d4731edbb 40 * the NVIC and set the vector table to that of the new image followed
WFKnight 0:9b3d4731edbb 41 * by jumping to the reset handler of the new image.
WFKnight 0:9b3d4731edbb 42 *
WFKnight 0:9b3d4731edbb 43 * @param address Starting address of next application to run
WFKnight 0:9b3d4731edbb 44 */
WFKnight 0:9b3d4731edbb 45 void mbed_start_application(uintptr_t address);
WFKnight 0:9b3d4731edbb 46
WFKnight 0:9b3d4731edbb 47 #ifdef __cplusplus
WFKnight 0:9b3d4731edbb 48 }
WFKnight 0:9b3d4731edbb 49 #endif
WFKnight 0:9b3d4731edbb 50 #endif
WFKnight 0:9b3d4731edbb 51
WFKnight 0:9b3d4731edbb 52 #endif
WFKnight 0:9b3d4731edbb 53