Theo Havercroft / nRF51822

Dependencies:   nrf51-sdk

Fork of nRF51822 by Lancaster University

Committer:
vcoubard
Date:
Mon Jan 11 10:19:10 2016 +0000
Revision:
551:ab7a8de3ff10
Parent:
504:2179e57ad950
Synchronized with git rev 6825c511
Author: Rohit Grover
Release 2.1.0
=============

Upgrading to files from v8.1 of the Nordic SDK.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vcoubard 551:ab7a8de3ff10 1 /*
vcoubard 551:ab7a8de3ff10 2 * Copyright (c) Nordic Semiconductor ASA
vcoubard 551:ab7a8de3ff10 3 * All rights reserved.
vcoubard 551:ab7a8de3ff10 4 *
vcoubard 551:ab7a8de3ff10 5 * Redistribution and use in source and binary forms, with or without modification,
vcoubard 551:ab7a8de3ff10 6 * are permitted provided that the following conditions are met:
vcoubard 551:ab7a8de3ff10 7 *
vcoubard 551:ab7a8de3ff10 8 * 1. Redistributions of source code must retain the above copyright notice, this
vcoubard 551:ab7a8de3ff10 9 * list of conditions and the following disclaimer.
vcoubard 551:ab7a8de3ff10 10 *
vcoubard 551:ab7a8de3ff10 11 * 2. Redistributions in binary form must reproduce the above copyright notice, this
vcoubard 551:ab7a8de3ff10 12 * list of conditions and the following disclaimer in the documentation and/or
vcoubard 551:ab7a8de3ff10 13 * other materials provided with the distribution.
vcoubard 551:ab7a8de3ff10 14 *
vcoubard 551:ab7a8de3ff10 15 * 3. Neither the name of Nordic Semiconductor ASA nor the names of other
vcoubard 551:ab7a8de3ff10 16 * contributors to this software may be used to endorse or promote products
vcoubard 551:ab7a8de3ff10 17 * derived from this software without specific prior written permission.
vcoubard 551:ab7a8de3ff10 18 *
vcoubard 551:ab7a8de3ff10 19 *
vcoubard 551:ab7a8de3ff10 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
vcoubard 551:ab7a8de3ff10 21 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
vcoubard 551:ab7a8de3ff10 22 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
vcoubard 551:ab7a8de3ff10 23 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
vcoubard 551:ab7a8de3ff10 24 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
vcoubard 551:ab7a8de3ff10 25 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
vcoubard 551:ab7a8de3ff10 26 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
vcoubard 551:ab7a8de3ff10 27 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
vcoubard 551:ab7a8de3ff10 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
vcoubard 551:ab7a8de3ff10 29 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
vcoubard 551:ab7a8de3ff10 30 *
vcoubard 551:ab7a8de3ff10 31 */
vcoubard 551:ab7a8de3ff10 32 #ifndef NRF_H
vcoubard 551:ab7a8de3ff10 33 #define NRF_H
vcoubard 551:ab7a8de3ff10 34
vcoubard 551:ab7a8de3ff10 35 #ifndef _WIN32
vcoubard 551:ab7a8de3ff10 36
vcoubard 551:ab7a8de3ff10 37 /* Family selection for main includes. NRF51 must be selected. */
vcoubard 551:ab7a8de3ff10 38 #ifdef NRF51
vcoubard 551:ab7a8de3ff10 39 #include "nrf51.h"
vcoubard 551:ab7a8de3ff10 40 #include "nrf51_bitfields.h"
vcoubard 551:ab7a8de3ff10 41 #include "nrf51_deprecated.h"
vcoubard 551:ab7a8de3ff10 42 #else
vcoubard 551:ab7a8de3ff10 43 #error "Device family must be defined. See nrf.h."
vcoubard 551:ab7a8de3ff10 44 #endif /* NRF51 */
vcoubard 551:ab7a8de3ff10 45
vcoubard 551:ab7a8de3ff10 46 #include "compiler_abstraction.h"
vcoubard 551:ab7a8de3ff10 47
vcoubard 551:ab7a8de3ff10 48 #endif /* _WIN32 */
vcoubard 551:ab7a8de3ff10 49
vcoubard 551:ab7a8de3ff10 50 #endif /* NRF_H */