rtos/rtos_idle.h@0:0e018d759a2a, 2016-11-08 (annotated)
- Committer:
- switches
- Date:
- Tue Nov 08 18:27:11 2016 +0000
- Revision:
- 0:0e018d759a2a
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
switches | 0:0e018d759a2a | 1 | |
switches | 0:0e018d759a2a | 2 | /** \addtogroup rtos */ |
switches | 0:0e018d759a2a | 3 | /** @{*/ |
switches | 0:0e018d759a2a | 4 | /* mbed Microcontroller Library |
switches | 0:0e018d759a2a | 5 | * Copyright (c) 2006-2012 ARM Limited |
switches | 0:0e018d759a2a | 6 | * |
switches | 0:0e018d759a2a | 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
switches | 0:0e018d759a2a | 8 | * of this software and associated documentation files (the "Software"), to deal |
switches | 0:0e018d759a2a | 9 | * in the Software without restriction, including without limitation the rights |
switches | 0:0e018d759a2a | 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
switches | 0:0e018d759a2a | 11 | * copies of the Software, and to permit persons to whom the Software is |
switches | 0:0e018d759a2a | 12 | * furnished to do so, subject to the following conditions: |
switches | 0:0e018d759a2a | 13 | * |
switches | 0:0e018d759a2a | 14 | * The above copyright notice and this permission notice shall be included in |
switches | 0:0e018d759a2a | 15 | * all copies or substantial portions of the Software. |
switches | 0:0e018d759a2a | 16 | * |
switches | 0:0e018d759a2a | 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
switches | 0:0e018d759a2a | 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
switches | 0:0e018d759a2a | 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
switches | 0:0e018d759a2a | 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
switches | 0:0e018d759a2a | 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
switches | 0:0e018d759a2a | 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
switches | 0:0e018d759a2a | 23 | * SOFTWARE. |
switches | 0:0e018d759a2a | 24 | */ |
switches | 0:0e018d759a2a | 25 | #ifndef RTOS_IDLE_H |
switches | 0:0e018d759a2a | 26 | #define RTOS_IDLE_H |
switches | 0:0e018d759a2a | 27 | |
switches | 0:0e018d759a2a | 28 | #include <stddef.h> |
switches | 0:0e018d759a2a | 29 | |
switches | 0:0e018d759a2a | 30 | #ifdef __cplusplus |
switches | 0:0e018d759a2a | 31 | extern "C" { |
switches | 0:0e018d759a2a | 32 | #endif |
switches | 0:0e018d759a2a | 33 | |
switches | 0:0e018d759a2a | 34 | void rtos_attach_idle_hook(void (*fptr)(void)); |
switches | 0:0e018d759a2a | 35 | |
switches | 0:0e018d759a2a | 36 | #ifdef __cplusplus |
switches | 0:0e018d759a2a | 37 | } |
switches | 0:0e018d759a2a | 38 | #endif |
switches | 0:0e018d759a2a | 39 | |
switches | 0:0e018d759a2a | 40 | #endif |
switches | 0:0e018d759a2a | 41 | |
switches | 0:0e018d759a2a | 42 | /** @}*/ |