Sergey Solodunov / nRF51822

Dependencies:   nrf51-sdk

Fork of nRF51822 by Nordic Semiconductor

Committer:
rgrover1
Date:
Fri Jun 19 15:55:35 2015 +0100
Revision:
346:14b090482fd2
Parent:
345:dfde56236c36
Child:
361:d2405f5a4853
Synchronized with git rev bb88aaad
Author: Rohit Grover
renamed BLEDevice to BLE

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rgrover1 346:14b090482fd2 1 /*
rgrover1 346:14b090482fd2 2 * Copyright (c) Nordic Semiconductor ASA
rgrover1 346:14b090482fd2 3 * All rights reserved.
rgrover1 346:14b090482fd2 4 *
rgrover1 346:14b090482fd2 5 * Redistribution and use in source and binary forms, with or without modification,
rgrover1 346:14b090482fd2 6 * are permitted provided that the following conditions are met:
rgrover1 346:14b090482fd2 7 *
rgrover1 346:14b090482fd2 8 * 1. Redistributions of source code must retain the above copyright notice, this
rgrover1 346:14b090482fd2 9 * list of conditions and the following disclaimer.
rgrover1 346:14b090482fd2 10 *
rgrover1 346:14b090482fd2 11 * 2. Redistributions in binary form must reproduce the above copyright notice, this
rgrover1 346:14b090482fd2 12 * list of conditions and the following disclaimer in the documentation and/or
rgrover1 346:14b090482fd2 13 * other materials provided with the distribution.
rgrover1 346:14b090482fd2 14 *
rgrover1 346:14b090482fd2 15 * 3. Neither the name of Nordic Semiconductor ASA nor the names of other
rgrover1 346:14b090482fd2 16 * contributors to this software may be used to endorse or promote products
rgrover1 346:14b090482fd2 17 * derived from this software without specific prior written permission.
rgrover1 346:14b090482fd2 18 *
rgrover1 346:14b090482fd2 19 *
rgrover1 346:14b090482fd2 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
rgrover1 346:14b090482fd2 21 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
rgrover1 346:14b090482fd2 22 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
rgrover1 346:14b090482fd2 23 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
rgrover1 346:14b090482fd2 24 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
rgrover1 346:14b090482fd2 25 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
rgrover1 346:14b090482fd2 26 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
rgrover1 346:14b090482fd2 27 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
rgrover1 346:14b090482fd2 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
rgrover1 346:14b090482fd2 29 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
rgrover1 346:14b090482fd2 30 *
rgrover1 346:14b090482fd2 31 */
rgrover1 346:14b090482fd2 32
rgrover1 346:14b090482fd2 33 /** @cond */
rgrover1 346:14b090482fd2 34 /**@file
rgrover1 346:14b090482fd2 35 *
rgrover1 346:14b090482fd2 36 * @defgroup sdk_os SDK OS Abstraction
rgrover1 346:14b090482fd2 37 * @ingroup experimental_api
rgrover1 346:14b090482fd2 38 * @details In order to made SDK modules independent of use of an embedded OS, and permit
rgrover1 346:14b090482fd2 39 * application with varied task architecture, SDK abstracts the OS specific
rgrover1 346:14b090482fd2 40 * elements here in order to make all other modules agnostic to the OS or task
rgrover1 346:14b090482fd2 41 * architecture.
rgrover1 346:14b090482fd2 42 * @{
rgrover1 346:14b090482fd2 43 */
rgrover1 346:14b090482fd2 44
rgrover1 346:14b090482fd2 45 #ifndef SDK_OS_H__
rgrover1 346:14b090482fd2 46 #define SDK_OS_H__
rgrover1 346:14b090482fd2 47
rgrover1 346:14b090482fd2 48 #define SDK_MUTEX_DEFINE(X)
rgrover1 346:14b090482fd2 49 #define SDK_MUTEX_INIT(X)
rgrover1 346:14b090482fd2 50 #define SDK_MUTEX_LOCK(X)
rgrover1 346:14b090482fd2 51 #define SDK_MUTEX_UNLOCK(X)
rgrover1 346:14b090482fd2 52
rgrover1 346:14b090482fd2 53 /**
rgrover1 346:14b090482fd2 54 * @defgroup os_data_type Data types.
rgrover1 346:14b090482fd2 55 */
rgrover1 346:14b090482fd2 56
rgrover1 346:14b090482fd2 57 /** @} */
rgrover1 346:14b090482fd2 58 /** @endcond */
rgrover1 346:14b090482fd2 59 #endif // SDK_OS_H__