Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
mbed_application.h
00001 /* mbed Microcontroller Library 00002 * Copyright (c) 2017-2017 ARM Limited 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 00017 #ifndef MBED_APPLICATION_H 00018 #define MBED_APPLICATION_H 00019 00020 #include<stdint.h> 00021 00022 #if defined(__CORTEX_M3) || defined(__CORTEX_M4) || defined(__CORTEX_M7)\ 00023 || defined(__CORTEX_M23) 00024 #define MBED_APPLICATION_SUPPORT 1 00025 #else 00026 #define MBED_APPLICATION_SUPPORT 0 00027 #endif 00028 00029 #if MBED_APPLICATION_SUPPORT 00030 #ifdef __cplusplus 00031 extern "C" { 00032 #endif 00033 00034 /** 00035 * Start the application at the given address. This function does 00036 * not return. It is the applications responsibility for flushing to 00037 * or powering down external components such as filesystems or 00038 * socket connections before calling this function. For Cortex-M 00039 * devices this function powers down generic system components such as 00040 * the NVIC and set the vector table to that of the new image followed 00041 * by jumping to the reset handler of the new image. 00042 * 00043 * @param address Starting address of next application to run 00044 */ 00045 void mbed_start_application(uintptr_t address); 00046 00047 #ifdef __cplusplus 00048 } 00049 #endif 00050 #endif 00051 00052 #endif 00053
Generated on Tue Jul 12 2022 12:45:25 by
