BA / SerialCom

Fork of OmniWheels by Gustav Atmel

Committer:
gustavatmel
Date:
Tue May 01 15:55:34 2018 +0000
Revision:
2:798925c9e4a8
Parent:
1:9c5af431a1f1
bluetooth

Who changed what in which revision?

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