Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TEST_USB_Nucleo_F429ZI Essais_USB_Nucleo_F429ZI SID_V3_Nucleo_F429ZI SID_V4_Nucleo_F429ZI_copy
mbed-rtos/rtos/rtos.h@0:77ca32e8e04e, 2020-09-25 (annotated)
- Committer:
- pierreprovent
- Date:
- Fri Sep 25 10:17:49 2020 +0000
- Revision:
- 0:77ca32e8e04e
Programme acquisition en enregistrement sur clef USB carte Nucleo F429ZI cours ELE118 Cnam
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pierreprovent | 0:77ca32e8e04e | 1 | |
pierreprovent | 0:77ca32e8e04e | 2 | /** \addtogroup rtos */ |
pierreprovent | 0:77ca32e8e04e | 3 | /** @{*/ |
pierreprovent | 0:77ca32e8e04e | 4 | /* mbed Microcontroller Library |
pierreprovent | 0:77ca32e8e04e | 5 | * Copyright (c) 2006-2012 ARM Limited |
pierreprovent | 0:77ca32e8e04e | 6 | * |
pierreprovent | 0:77ca32e8e04e | 7 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
pierreprovent | 0:77ca32e8e04e | 8 | * of this software and associated documentation files (the "Software"), to deal |
pierreprovent | 0:77ca32e8e04e | 9 | * in the Software without restriction, including without limitation the rights |
pierreprovent | 0:77ca32e8e04e | 10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
pierreprovent | 0:77ca32e8e04e | 11 | * copies of the Software, and to permit persons to whom the Software is |
pierreprovent | 0:77ca32e8e04e | 12 | * furnished to do so, subject to the following conditions: |
pierreprovent | 0:77ca32e8e04e | 13 | * |
pierreprovent | 0:77ca32e8e04e | 14 | * The above copyright notice and this permission notice shall be included in |
pierreprovent | 0:77ca32e8e04e | 15 | * all copies or substantial portions of the Software. |
pierreprovent | 0:77ca32e8e04e | 16 | * |
pierreprovent | 0:77ca32e8e04e | 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
pierreprovent | 0:77ca32e8e04e | 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
pierreprovent | 0:77ca32e8e04e | 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
pierreprovent | 0:77ca32e8e04e | 20 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
pierreprovent | 0:77ca32e8e04e | 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
pierreprovent | 0:77ca32e8e04e | 22 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
pierreprovent | 0:77ca32e8e04e | 23 | * SOFTWARE. |
pierreprovent | 0:77ca32e8e04e | 24 | */ |
pierreprovent | 0:77ca32e8e04e | 25 | #ifndef RTOS_H |
pierreprovent | 0:77ca32e8e04e | 26 | #define RTOS_H |
pierreprovent | 0:77ca32e8e04e | 27 | |
pierreprovent | 0:77ca32e8e04e | 28 | #include "rtos/Thread.h" |
pierreprovent | 0:77ca32e8e04e | 29 | #include "rtos/Mutex.h" |
pierreprovent | 0:77ca32e8e04e | 30 | #include "rtos/RtosTimer.h" |
pierreprovent | 0:77ca32e8e04e | 31 | #include "rtos/Semaphore.h" |
pierreprovent | 0:77ca32e8e04e | 32 | #include "rtos/Mail.h" |
pierreprovent | 0:77ca32e8e04e | 33 | #include "rtos/MemoryPool.h" |
pierreprovent | 0:77ca32e8e04e | 34 | #include "rtos/Queue.h" |
pierreprovent | 0:77ca32e8e04e | 35 | |
pierreprovent | 0:77ca32e8e04e | 36 | using namespace rtos; |
pierreprovent | 0:77ca32e8e04e | 37 | |
pierreprovent | 0:77ca32e8e04e | 38 | /* Get mbed lib version number, as RTOS depends on mbed lib features |
pierreprovent | 0:77ca32e8e04e | 39 | like mbed_error, Callback and others. |
pierreprovent | 0:77ca32e8e04e | 40 | */ |
pierreprovent | 0:77ca32e8e04e | 41 | #include "mbed.h" |
pierreprovent | 0:77ca32e8e04e | 42 | |
pierreprovent | 0:77ca32e8e04e | 43 | #if (MBED_LIBRARY_VERSION < 122) |
pierreprovent | 0:77ca32e8e04e | 44 | #error "This version of RTOS requires mbed library version > 121" |
pierreprovent | 0:77ca32e8e04e | 45 | #endif |
pierreprovent | 0:77ca32e8e04e | 46 | |
pierreprovent | 0:77ca32e8e04e | 47 | #endif |
pierreprovent | 0:77ca32e8e04e | 48 | |
pierreprovent | 0:77ca32e8e04e | 49 | /** @}*/ |