BBR 1 Ebene

Committer:
borlanic
Date:
Mon May 14 11:29:06 2018 +0000
Revision:
0:fbdae7e6d805
BBR

Who changed what in which revision?

UserRevisionLine numberNew contents of line
borlanic 0:fbdae7e6d805 1
borlanic 0:fbdae7e6d805 2 /** \addtogroup rtos */
borlanic 0:fbdae7e6d805 3 /** @{*/
borlanic 0:fbdae7e6d805 4 /* mbed Microcontroller Library
borlanic 0:fbdae7e6d805 5 * Copyright (c) 2006-2012 ARM Limited
borlanic 0:fbdae7e6d805 6 *
borlanic 0:fbdae7e6d805 7 * Permission is hereby granted, free of charge, to any person obtaining a copy
borlanic 0:fbdae7e6d805 8 * of this software and associated documentation files (the "Software"), to deal
borlanic 0:fbdae7e6d805 9 * in the Software without restriction, including without limitation the rights
borlanic 0:fbdae7e6d805 10 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
borlanic 0:fbdae7e6d805 11 * copies of the Software, and to permit persons to whom the Software is
borlanic 0:fbdae7e6d805 12 * furnished to do so, subject to the following conditions:
borlanic 0:fbdae7e6d805 13 *
borlanic 0:fbdae7e6d805 14 * The above copyright notice and this permission notice shall be included in
borlanic 0:fbdae7e6d805 15 * all copies or substantial portions of the Software.
borlanic 0:fbdae7e6d805 16 *
borlanic 0:fbdae7e6d805 17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
borlanic 0:fbdae7e6d805 18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
borlanic 0:fbdae7e6d805 19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
borlanic 0:fbdae7e6d805 20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
borlanic 0:fbdae7e6d805 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
borlanic 0:fbdae7e6d805 22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
borlanic 0:fbdae7e6d805 23 * SOFTWARE.
borlanic 0:fbdae7e6d805 24 */
borlanic 0:fbdae7e6d805 25 #ifndef RTOS_IDLE_H
borlanic 0:fbdae7e6d805 26 #define RTOS_IDLE_H
borlanic 0:fbdae7e6d805 27
borlanic 0:fbdae7e6d805 28 #include <stddef.h>
borlanic 0:fbdae7e6d805 29
borlanic 0:fbdae7e6d805 30 #ifdef __cplusplus
borlanic 0:fbdae7e6d805 31 extern "C" {
borlanic 0:fbdae7e6d805 32 #endif
borlanic 0:fbdae7e6d805 33
borlanic 0:fbdae7e6d805 34 /**
borlanic 0:fbdae7e6d805 35 * \defgroup rtos_Idle Idle hook function
borlanic 0:fbdae7e6d805 36 * @{
borlanic 0:fbdae7e6d805 37 */
borlanic 0:fbdae7e6d805 38 /**
borlanic 0:fbdae7e6d805 39 @note
borlanic 0:fbdae7e6d805 40 Sets the hook function called by idle task
borlanic 0:fbdae7e6d805 41 @param fptr Hook function pointer.
borlanic 0:fbdae7e6d805 42 */
borlanic 0:fbdae7e6d805 43 void rtos_attach_idle_hook(void (*fptr)(void));
borlanic 0:fbdae7e6d805 44 /** @}*/
borlanic 0:fbdae7e6d805 45
borlanic 0:fbdae7e6d805 46 #ifdef __cplusplus
borlanic 0:fbdae7e6d805 47 }
borlanic 0:fbdae7e6d805 48 #endif
borlanic 0:fbdae7e6d805 49
borlanic 0:fbdae7e6d805 50 #endif
borlanic 0:fbdae7e6d805 51
borlanic 0:fbdae7e6d805 52 /** @}*/
borlanic 0:fbdae7e6d805 53