BA
/
BaBoRo1
Erste version der Software für der Prototyp
mbed-os/rtos/rtos.h@4:75df35ef4fb6, 2018-03-30 (annotated)
- Committer:
- borlanic
- Date:
- Fri Mar 30 14:07:05 2018 +0000
- Revision:
- 4:75df35ef4fb6
- Parent:
- 0:380207fcb5c1
commentar
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
borlanic | 0:380207fcb5c1 | 1 | |
borlanic | 0:380207fcb5c1 | 2 | /** \addtogroup rtos */ |
borlanic | 0:380207fcb5c1 | 3 | /** @{*/ |
borlanic | 0:380207fcb5c1 | 4 | /* mbed Microcontroller Library |
borlanic | 0:380207fcb5c1 | 5 | * Copyright (c) 2006-2012 ARM Limited |
borlanic | 0:380207fcb5c1 | 6 | * |
borlanic | 0:380207fcb5c1 | 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
borlanic | 0:380207fcb5c1 | 8 | * of this software and associated documentation files (the "Software"), to deal |
borlanic | 0:380207fcb5c1 | 9 | * in the Software without restriction, including without limitation the rights |
borlanic | 0:380207fcb5c1 | 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
borlanic | 0:380207fcb5c1 | 11 | * copies of the Software, and to permit persons to whom the Software is |
borlanic | 0:380207fcb5c1 | 12 | * furnished to do so, subject to the following conditions: |
borlanic | 0:380207fcb5c1 | 13 | * |
borlanic | 0:380207fcb5c1 | 14 | * The above copyright notice and this permission notice shall be included in |
borlanic | 0:380207fcb5c1 | 15 | * all copies or substantial portions of the Software. |
borlanic | 0:380207fcb5c1 | 16 | * |
borlanic | 0:380207fcb5c1 | 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
borlanic | 0:380207fcb5c1 | 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
borlanic | 0:380207fcb5c1 | 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
borlanic | 0:380207fcb5c1 | 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
borlanic | 0:380207fcb5c1 | 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
borlanic | 0:380207fcb5c1 | 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
borlanic | 0:380207fcb5c1 | 23 | * SOFTWARE. |
borlanic | 0:380207fcb5c1 | 24 | */ |
borlanic | 0:380207fcb5c1 | 25 | #ifndef RTOS_H |
borlanic | 0:380207fcb5c1 | 26 | #define RTOS_H |
borlanic | 0:380207fcb5c1 | 27 | |
borlanic | 0:380207fcb5c1 | 28 | #include "mbed_rtos_storage.h" |
borlanic | 0:380207fcb5c1 | 29 | #include "rtos/Kernel.h" |
borlanic | 0:380207fcb5c1 | 30 | #include "rtos/Thread.h" |
borlanic | 0:380207fcb5c1 | 31 | #include "rtos/Mutex.h" |
borlanic | 0:380207fcb5c1 | 32 | #include "rtos/RtosTimer.h" |
borlanic | 0:380207fcb5c1 | 33 | #include "rtos/Semaphore.h" |
borlanic | 0:380207fcb5c1 | 34 | #include "rtos/Mail.h" |
borlanic | 0:380207fcb5c1 | 35 | #include "rtos/MemoryPool.h" |
borlanic | 0:380207fcb5c1 | 36 | #include "rtos/Queue.h" |
borlanic | 0:380207fcb5c1 | 37 | #include "rtos/EventFlags.h" |
borlanic | 0:380207fcb5c1 | 38 | #include "rtos/ConditionVariable.h" |
borlanic | 0:380207fcb5c1 | 39 | |
borlanic | 0:380207fcb5c1 | 40 | using namespace rtos; |
borlanic | 0:380207fcb5c1 | 41 | |
borlanic | 0:380207fcb5c1 | 42 | /* Get mbed lib version number, as RTOS depends on mbed lib features |
borlanic | 0:380207fcb5c1 | 43 | like mbed_error, Callback and others. |
borlanic | 0:380207fcb5c1 | 44 | */ |
borlanic | 0:380207fcb5c1 | 45 | #include "mbed.h" |
borlanic | 0:380207fcb5c1 | 46 | |
borlanic | 0:380207fcb5c1 | 47 | #endif |
borlanic | 0:380207fcb5c1 | 48 | |
borlanic | 0:380207fcb5c1 | 49 | /** @}*/ |