Entrega 3er corte - sistemas embebidos

Committer:
Bethory
Date:
Wed May 30 00:01:50 2018 +0000
Revision:
0:6ad07c9019fd
Codigo de tales para todos los pasculaes

Who changed what in which revision?

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