CAC_smartcushion / Mbed OS 2Temp_ADISense1000_Example

Fork of ADISense1000_Example_FW by Analog Devices

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers adi_sense_time.h Source File

adi_sense_time.h

Go to the documentation of this file.
00001 /*!
00002  ******************************************************************************
00003  * @file:   adi_sense_time.h
00004  * @brief:  ADI Sense OS Dependant wrapper layer for time functions
00005  *-----------------------------------------------------------------------------
00006  */
00007 
00008 /*
00009 Copyright 2017 (c) Analog Devices, Inc.
00010 
00011 All rights reserved.
00012 
00013 Redistribution and use in source and binary forms, with or without
00014 modification, are permitted provided that the following conditions are met:
00015   - Redistributions of source code must retain the above copyright
00016     notice, this list of conditions and the following disclaimer.
00017   - Redistributions in binary form must reproduce the above copyright
00018     notice, this list of conditions and the following disclaimer in
00019     the documentation and/or other materials provided with the
00020     distribution.
00021   - Neither the name of Analog Devices, Inc. nor the names of its
00022     contributors may be used to endorse or promote products derived
00023     from this software without specific prior written permission.
00024   - The use of this software may or may not infringe the patent rights
00025     of one or more patent holders. This license does not release you
00026     from the requirement that you obtain separate licenses from these
00027     patent holders to use this software.
00028   - Use of the software either in source or binary form, must be run
00029     on or directly connected to an Analog Devices Inc. component.
00030 
00031 THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR
00032 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT,
00033 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
00034 IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT,
00035 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
00036 LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR
00037 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00038 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00039 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00040 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00041 */
00042 
00043 #ifndef __ADI_SENSE_TIME_H__
00044 #define __ADI_SENSE_TIME_H__
00045 
00046 #include "inc/adi_sense_types.h"
00047 
00048 /*! @ingroup ADI_Sense_Host */
00049 
00050 /*! @addtogroup ADI_Sense_Time ADI Sense Host Time functions
00051  *  @{
00052  */
00053 
00054 #ifdef __cplusplus
00055 extern "C" 
00056 {
00057 #endif
00058 
00059 /*!
00060  * @brief Wait for a specified number of microseconds
00061  *
00062  * @param[in] microseconds Number of microseconds to wait
00063  */
00064 void adi_sense_TimeDelayUsec(
00065     const unsigned microseconds);
00066 
00067 #ifdef __cplusplus
00068 }
00069 #endif
00070 
00071 /*!
00072  * @}
00073  */
00074 
00075 #endif /* __ADI_SENSE_TIME_H__ */
00076