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