ADISense1000 Version 2.1 code base

Fork of AdiSense1000_V21 by Sean Wilson

Committer:
Dan O'Donovan
Date:
Mon Mar 26 20:28:05 2018 +0100
Branch:
v2.0
Revision:
27:567abf893938
Parent:
26:12d0204be712
Child:
30:119ff4f3aef6
Adding host library and example code for v1.1 release

Who changed what in which revision?

UserRevisionLine numberNew contents of line
danodonovan 26:12d0204be712 1 /*
danodonovan 26:12d0204be712 2 Copyright (c) 2017 Analog Devices, Inc.
danodonovan 26:12d0204be712 3
danodonovan 26:12d0204be712 4 All rights reserved.
danodonovan 26:12d0204be712 5
danodonovan 26:12d0204be712 6 Redistribution and use in source and binary forms, with or without modification,
danodonovan 26:12d0204be712 7 are permitted provided that the following conditions are met:
danodonovan 26:12d0204be712 8 - Redistributions of source code must retain the above copyright notice,
danodonovan 26:12d0204be712 9 this list of conditions and the following disclaimer.
danodonovan 26:12d0204be712 10 - Redistributions in binary form must reproduce the above copyright notice,
danodonovan 26:12d0204be712 11 this list of conditions and the following disclaimer in the documentation
danodonovan 26:12d0204be712 12 and/or other materials provided with the distribution.
danodonovan 26:12d0204be712 13 - Modified versions of the software must be conspicuously marked as such.
danodonovan 26:12d0204be712 14 - This software is licensed solely and exclusively for use with processors
danodonovan 26:12d0204be712 15 manufactured by or for Analog Devices, Inc.
danodonovan 26:12d0204be712 16 - This software may not be combined or merged with other code in any manner
danodonovan 26:12d0204be712 17 that would cause the software to become subject to terms and conditions
danodonovan 26:12d0204be712 18 which differ from those listed here.
danodonovan 26:12d0204be712 19 - Neither the name of Analog Devices, Inc. nor the names of its
danodonovan 26:12d0204be712 20 contributors may be used to endorse or promote products derived
danodonovan 26:12d0204be712 21 from this software without specific prior written permission.
danodonovan 26:12d0204be712 22 - The use of this software may or may not infringe the patent rights of one
danodonovan 26:12d0204be712 23 or more patent holders. This license does not release you from the
danodonovan 26:12d0204be712 24 requirement that you obtain separate licenses from these patent holders
danodonovan 26:12d0204be712 25 to use this software.
danodonovan 26:12d0204be712 26
danodonovan 26:12d0204be712 27 THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. AND CONTRIBUTORS "AS IS" AND ANY
danodonovan 26:12d0204be712 28 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT,
danodonovan 26:12d0204be712 29 TITLE, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
danodonovan 26:12d0204be712 30 NO EVENT SHALL ANALOG DEVICES, INC. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
danodonovan 26:12d0204be712 31 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, PUNITIVE OR CONSEQUENTIAL DAMAGES
danodonovan 26:12d0204be712 32 (INCLUDING, BUT NOT LIMITED TO, DAMAGES ARISING OUT OF CLAIMS OF INTELLECTUAL
danodonovan 26:12d0204be712 33 PROPERTY RIGHTS INFRINGEMENT; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
danodonovan 26:12d0204be712 34 OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
danodonovan 26:12d0204be712 35 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
danodonovan 26:12d0204be712 36 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
danodonovan 26:12d0204be712 37 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
danodonovan 26:12d0204be712 38 */
danodonovan 26:12d0204be712 39
Dan O'Donovan 27:567abf893938 40 /*!
Dan O'Donovan 27:567abf893938 41 ******************************************************************************
Dan O'Donovan 27:567abf893938 42 * @file:
Dan O'Donovan 27:567abf893938 43 * @brief: Platform-specific type definitions for ADISENSE API.
Dan O'Donovan 27:567abf893938 44 *-----------------------------------------------------------------------------
Dan O'Donovan 27:567abf893938 45 */
Dan O'Donovan 27:567abf893938 46
danodonovan 26:12d0204be712 47 #ifndef __ADI_SENSE_PLATFORM_H__
danodonovan 26:12d0204be712 48 #define __ADI_SENSE_PLATFORM_H__
danodonovan 26:12d0204be712 49
danodonovan 26:12d0204be712 50 #include <stddef.h>
danodonovan 26:12d0204be712 51 #include <stdint.h>
danodonovan 26:12d0204be712 52 #include <stdbool.h>
danodonovan 26:12d0204be712 53
danodonovan 26:12d0204be712 54 /*! @defgroup ADISENSE_Host ADISENSE Host Portability Layer */
danodonovan 26:12d0204be712 55
danodonovan 26:12d0204be712 56 typedef char char_t;
danodonovan 26:12d0204be712 57 typedef float float32_t;
danodonovan 26:12d0204be712 58 typedef double float64_t;
danodonovan 26:12d0204be712 59 typedef uint8_t bool_t;
danodonovan 26:12d0204be712 60
danodonovan 26:12d0204be712 61 #ifdef __MBED__
danodonovan 26:12d0204be712 62 #include "inc/mbed/adi_sense_platform.h"
danodonovan 26:12d0204be712 63 #endif
danodonovan 26:12d0204be712 64
danodonovan 26:12d0204be712 65 #endif /* __ADI_SENSE_PLATFORM_H__ */