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