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