To get started with Seeed Tiny BLE, include detecting motion, button and battery level.
Dependencies: BLE_API eMPL_MPU6050 mbed nRF51822
nRF51822/nordic-sdk/components/libraries/util/sdk_os.h@1:fc2f9d636751, 2015-04-22 (annotated)
- Committer:
- yihui
- Date:
- Wed Apr 22 07:47:17 2015 +0000
- Revision:
- 1:fc2f9d636751
update libraries; ; delete nRF51822/nordic-sdk/components/gpiote/app_gpiote.c to solve GPIOTE_IRQHandler multiply defined issue. temperarily change nRF51822 library to folder
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yihui | 1:fc2f9d636751 | 1 | /* Copyright (c) 2013 Nordic Semiconductor. All Rights Reserved. |
yihui | 1:fc2f9d636751 | 2 | * |
yihui | 1:fc2f9d636751 | 3 | * The information contained herein is property of Nordic Semiconductor ASA. |
yihui | 1:fc2f9d636751 | 4 | * Terms and conditions of usage are described in detail in NORDIC |
yihui | 1:fc2f9d636751 | 5 | * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. |
yihui | 1:fc2f9d636751 | 6 | * |
yihui | 1:fc2f9d636751 | 7 | * Licensees are granted free, non-transferable use of the information. NO |
yihui | 1:fc2f9d636751 | 8 | * WARRANTY of ANY KIND is provided. This heading must NOT be removed from |
yihui | 1:fc2f9d636751 | 9 | * the file. |
yihui | 1:fc2f9d636751 | 10 | * |
yihui | 1:fc2f9d636751 | 11 | */ |
yihui | 1:fc2f9d636751 | 12 | |
yihui | 1:fc2f9d636751 | 13 | /** @cond */ |
yihui | 1:fc2f9d636751 | 14 | /**@file |
yihui | 1:fc2f9d636751 | 15 | * |
yihui | 1:fc2f9d636751 | 16 | * @defgroup sdk_os SDK OS Abstraction |
yihui | 1:fc2f9d636751 | 17 | * @ingroup experimental_api |
yihui | 1:fc2f9d636751 | 18 | * @details In order to made SDK modules independent of use of an embedded OS, and permit |
yihui | 1:fc2f9d636751 | 19 | * application with varied task architecture, SDK abstracts the OS specific |
yihui | 1:fc2f9d636751 | 20 | * elements here in order to make all other modules agnostic to the OS or task |
yihui | 1:fc2f9d636751 | 21 | * architecture. |
yihui | 1:fc2f9d636751 | 22 | * @{ |
yihui | 1:fc2f9d636751 | 23 | */ |
yihui | 1:fc2f9d636751 | 24 | |
yihui | 1:fc2f9d636751 | 25 | #ifndef SDK_OS_H__ |
yihui | 1:fc2f9d636751 | 26 | #define SDK_OS_H__ |
yihui | 1:fc2f9d636751 | 27 | |
yihui | 1:fc2f9d636751 | 28 | #define SDK_MUTEX_DEFINE(X) |
yihui | 1:fc2f9d636751 | 29 | #define SDK_MUTEX_INIT(X) |
yihui | 1:fc2f9d636751 | 30 | #define SDK_MUTEX_LOCK(X) |
yihui | 1:fc2f9d636751 | 31 | #define SDK_MUTEX_UNLOCK(X) |
yihui | 1:fc2f9d636751 | 32 | |
yihui | 1:fc2f9d636751 | 33 | /** |
yihui | 1:fc2f9d636751 | 34 | * @defgroup os_data_type Data types. |
yihui | 1:fc2f9d636751 | 35 | */ |
yihui | 1:fc2f9d636751 | 36 | |
yihui | 1:fc2f9d636751 | 37 | /** @} */ |
yihui | 1:fc2f9d636751 | 38 | /** @endcond */ |
yihui | 1:fc2f9d636751 | 39 | #endif // SDK_OS_H__ |
yihui | 1:fc2f9d636751 | 40 |