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