Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ADISense_ExampleFirmware by
adi_sense_platform.h
00001 /*! 00002 ****************************************************************************** 00003 * @file: adi_sense_platform.h 00004 * @brief: Platform-specific type definitions for ADI Sense API. 00005 *----------------------------------------------------------------------------- 00006 */ 00007 00008 /* 00009 Copyright (c) 2017 Analog Devices, Inc. 00010 00011 All rights reserved. 00012 00013 Redistribution and use in source and binary forms, with or without modification, 00014 are permitted provided that the following conditions are met: 00015 - Redistributions of source code must retain the above copyright notice, 00016 this list of conditions and the following disclaimer. 00017 - Redistributions in binary form must reproduce the above copyright notice, 00018 this list of conditions and the following disclaimer in the documentation 00019 and/or other materials provided with the distribution. 00020 - Modified versions of the software must be conspicuously marked as such. 00021 - This software is licensed solely and exclusively for use with processors 00022 manufactured by or for Analog Devices, Inc. 00023 - This software may not be combined or merged with other code in any manner 00024 that would cause the software to become subject to terms and conditions 00025 which differ from those listed here. 00026 - Neither the name of Analog Devices, Inc. nor the names of its 00027 contributors may be used to endorse or promote products derived 00028 from this software without specific prior written permission. 00029 - The use of this software may or may not infringe the patent rights of one 00030 or more patent holders. This license does not release you from the 00031 requirement that you obtain separate licenses from these patent holders 00032 to use this software. 00033 00034 THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. AND CONTRIBUTORS "AS IS" AND ANY 00035 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, 00036 TITLE, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 00037 NO EVENT SHALL ANALOG DEVICES, INC. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 00038 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, PUNITIVE OR CONSEQUENTIAL DAMAGES 00039 (INCLUDING, BUT NOT LIMITED TO, DAMAGES ARISING OUT OF CLAIMS OF INTELLECTUAL 00040 PROPERTY RIGHTS INFRINGEMENT; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 00041 OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 00042 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 00043 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 00044 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00045 */ 00046 00047 #ifndef __ADI_SENSE_PLATFORM_H__ 00048 #define __ADI_SENSE_PLATFORM_H__ 00049 00050 #include <stddef.h> 00051 #include <stdint.h> 00052 #include <stdbool.h> 00053 00054 /*! @defgroup ADI_Sense_Host ADI Sense Host Portability Layer */ 00055 00056 typedef char char_t; 00057 typedef float float32_t; 00058 typedef double float64_t; 00059 typedef uint8_t bool_t; 00060 00061 #ifdef __MBED__ 00062 #include "inc/mbed/adi_sense_platform.h" 00063 #endif 00064 00065 #endif /* __ADI_SENSE_PLATFORM_H__ */ 00066
Generated on Tue Jul 12 2022 19:29:35 by
