Nordic nrf51 sdk sources. Mirrored from https://github.com/ARMmbed/nrf51-sdk.
source/nordic_sdk/components/libraries/util/sdk_os.h@28:041dac1366b2, 2016-04-07 (annotated)
- Committer:
- vcoubard
- Date:
- Thu Apr 07 17:37:56 2016 +0100
- Revision:
- 28:041dac1366b2
- Parent:
- 20:a90c48eb1d30
- Child:
- 29:286940b7ee5a
Synchronized with git rev 012b8118
Author: Liyou Zhou
Pull in files from sdk 10.0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vcoubard | 28:041dac1366b2 | 1 | /* Copyright (c) 2013 Nordic Semiconductor. All Rights Reserved. |
vcoubard | 28:041dac1366b2 | 2 | * |
vcoubard | 28:041dac1366b2 | 3 | * The information contained herein is property of Nordic Semiconductor ASA. |
vcoubard | 28:041dac1366b2 | 4 | * Terms and conditions of usage are described in detail in NORDIC |
vcoubard | 28:041dac1366b2 | 5 | * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. |
vcoubard | 28:041dac1366b2 | 6 | * |
vcoubard | 28:041dac1366b2 | 7 | * Licensees are granted free, non-transferable use of the information. NO |
vcoubard | 28:041dac1366b2 | 8 | * WARRANTY of ANY KIND is provided. This heading must NOT be removed from |
vcoubard | 28:041dac1366b2 | 9 | * the file. |
vcoubard | 28:041dac1366b2 | 10 | * |
Vincent Coubard |
0:f2542974c862 | 11 | */ |
Vincent Coubard |
0:f2542974c862 | 12 | |
Vincent Coubard |
0:f2542974c862 | 13 | /** @cond */ |
Vincent Coubard |
0:f2542974c862 | 14 | /**@file |
Vincent Coubard |
0:f2542974c862 | 15 | * |
Vincent Coubard |
0:f2542974c862 | 16 | * @defgroup sdk_os SDK OS Abstraction |
Vincent Coubard |
0:f2542974c862 | 17 | * @ingroup experimental_api |
Vincent Coubard |
0:f2542974c862 | 18 | * @details In order to made SDK modules independent of use of an embedded OS, and permit |
Vincent Coubard |
0:f2542974c862 | 19 | * application with varied task architecture, SDK abstracts the OS specific |
Vincent Coubard |
0:f2542974c862 | 20 | * elements here in order to make all other modules agnostic to the OS or task |
Vincent Coubard |
0:f2542974c862 | 21 | * architecture. |
Vincent Coubard |
0:f2542974c862 | 22 | * @{ |
Vincent Coubard |
0:f2542974c862 | 23 | */ |
Vincent Coubard |
0:f2542974c862 | 24 | |
Vincent Coubard |
0:f2542974c862 | 25 | #ifndef SDK_OS_H__ |
Vincent Coubard |
0:f2542974c862 | 26 | #define SDK_OS_H__ |
Vincent Coubard |
0:f2542974c862 | 27 | |
Vincent Coubard |
0:f2542974c862 | 28 | #define SDK_MUTEX_DEFINE(X) |
Vincent Coubard |
0:f2542974c862 | 29 | #define SDK_MUTEX_INIT(X) |
Vincent Coubard |
0:f2542974c862 | 30 | #define SDK_MUTEX_LOCK(X) |
Vincent Coubard |
0:f2542974c862 | 31 | #define SDK_MUTEX_UNLOCK(X) |
Vincent Coubard |
0:f2542974c862 | 32 | |
Vincent Coubard |
0:f2542974c862 | 33 | /** |
Vincent Coubard |
0:f2542974c862 | 34 | * @defgroup os_data_type Data types. |
Vincent Coubard |
0:f2542974c862 | 35 | */ |
Vincent Coubard |
0:f2542974c862 | 36 | |
Vincent Coubard |
0:f2542974c862 | 37 | /** @} */ |
Vincent Coubard |
0:f2542974c862 | 38 | /** @endcond */ |
Vincent Coubard |
0:f2542974c862 | 39 | #endif // SDK_OS_H__ |
vcoubard | 1:ebc0e0ef0a11 | 40 |