AdiSense1000_V21 MBED API

Fork of AdiSense1000 by PoC_Team

Committer:
seanwilson10
Date:
Tue Jul 24 11:49:57 2018 +0000
Revision:
32:262fc8aeb486
Parent:
28:4eb837cd71df
v2.1 imported

Who changed what in which revision?

UserRevisionLine numberNew contents of line
danodonovan 26:12d0204be712 1 /*
danodonovan 26:12d0204be712 2 Copyright 2017 (c) 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
danodonovan 26:12d0204be712 7 modification, are permitted provided that the following conditions are met:
danodonovan 26:12d0204be712 8 - Redistributions of source code must retain the above copyright
danodonovan 26:12d0204be712 9 notice, this list of conditions and the following disclaimer.
danodonovan 26:12d0204be712 10 - Redistributions in binary form must reproduce the above copyright
danodonovan 26:12d0204be712 11 notice, this list of conditions and the following disclaimer in
danodonovan 26:12d0204be712 12 the documentation and/or other materials provided with the
danodonovan 26:12d0204be712 13 distribution.
danodonovan 26:12d0204be712 14 - Neither the name of Analog Devices, Inc. nor the names of its
danodonovan 26:12d0204be712 15 contributors may be used to endorse or promote products derived
danodonovan 26:12d0204be712 16 from this software without specific prior written permission.
danodonovan 26:12d0204be712 17 - The use of this software may or may not infringe the patent rights
danodonovan 26:12d0204be712 18 of one or more patent holders. This license does not release you
danodonovan 26:12d0204be712 19 from the requirement that you obtain separate licenses from these
danodonovan 26:12d0204be712 20 patent holders to use this software.
danodonovan 26:12d0204be712 21 - Use of the software either in source or binary form, must be run
danodonovan 26:12d0204be712 22 on or directly connected to an Analog Devices Inc. component.
danodonovan 26:12d0204be712 23
danodonovan 26:12d0204be712 24 THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR
danodonovan 26:12d0204be712 25 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT,
danodonovan 26:12d0204be712 26 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
danodonovan 26:12d0204be712 27 IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT,
danodonovan 26:12d0204be712 28 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
danodonovan 26:12d0204be712 29 LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR
danodonovan 26:12d0204be712 30 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
danodonovan 26:12d0204be712 31 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
danodonovan 26:12d0204be712 32 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
danodonovan 26:12d0204be712 33 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
danodonovan 26:12d0204be712 34 */
danodonovan 26:12d0204be712 35
kevin1990 28:4eb837cd71df 36 /*!
kevin1990 28:4eb837cd71df 37 ******************************************************************************
kevin1990 28:4eb837cd71df 38 * @file: adi_sense_time.h
kevin1990 28:4eb837cd71df 39 * @brief: ADISENSE OS Dependant wrapper layer for time functions
kevin1990 28:4eb837cd71df 40 *-----------------------------------------------------------------------------
kevin1990 28:4eb837cd71df 41 */
kevin1990 28:4eb837cd71df 42
danodonovan 26:12d0204be712 43 #ifndef __ADI_SENSE_TIME_H__
danodonovan 26:12d0204be712 44 #define __ADI_SENSE_TIME_H__
danodonovan 26:12d0204be712 45
danodonovan 26:12d0204be712 46 #include "inc/adi_sense_types.h"
danodonovan 26:12d0204be712 47
danodonovan 26:12d0204be712 48 /*! @ingroup ADISENSE_Host */
danodonovan 26:12d0204be712 49
danodonovan 26:12d0204be712 50 /*! @addtogroup ADISENSE_Time ADISENSE Host Time functions
danodonovan 26:12d0204be712 51 * @{
danodonovan 26:12d0204be712 52 */
danodonovan 26:12d0204be712 53
danodonovan 26:12d0204be712 54 #ifdef __cplusplus
kevin1990 28:4eb837cd71df 55 extern "C"
danodonovan 26:12d0204be712 56 {
danodonovan 26:12d0204be712 57 #endif
danodonovan 26:12d0204be712 58
danodonovan 26:12d0204be712 59 /*!
danodonovan 26:12d0204be712 60 * @brief Wait for a specified number of microseconds
danodonovan 26:12d0204be712 61 *
danodonovan 26:12d0204be712 62 * @param[in] microseconds Number of microseconds to wait
danodonovan 26:12d0204be712 63 */
danodonovan 26:12d0204be712 64 void adi_sense_TimeDelayUsec(
danodonovan 26:12d0204be712 65 const unsigned microseconds);
danodonovan 26:12d0204be712 66
danodonovan 26:12d0204be712 67 #ifdef __cplusplus
danodonovan 26:12d0204be712 68 }
danodonovan 26:12d0204be712 69 #endif
danodonovan 26:12d0204be712 70
danodonovan 26:12d0204be712 71 /*!
danodonovan 26:12d0204be712 72 * @}
danodonovan 26:12d0204be712 73 */
danodonovan 26:12d0204be712 74
danodonovan 26:12d0204be712 75 #endif /* __ADI_SENSE_TIME_H__ */