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