Committer:
borlanic
Date:
Fri Mar 30 14:07:05 2018 +0000
Revision:
4:75df35ef4fb6
Parent:
0:380207fcb5c1
commentar

Who changed what in which revision?

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