Code clean up and handling FIFO errors

Committer:
Vkadaba
Date:
Fri Sep 27 05:23:04 2019 +0000
Revision:
24:2d2cb6ac71fd
Parent:
22:2835e9e9f59f
Replaced license.txt

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Vkadaba 24:2d2cb6ac71fd 1 Analog Devices, Inc. (“ADI”)
Vkadaba 24:2d2cb6ac71fd 2 Source Code Software License Agreement
Vkadaba 24:2d2cb6ac71fd 3 20190909-ADMWMDF-CTSLA
Vkadaba 24:2d2cb6ac71fd 4 BEFORE YOU SELECT THE "I ACCEPT" BUTTON AT THE BOTTOM OF THIS WINDOW, CAREFULLY READ THE TERMS AND CONDITIONS SET FORTH BELOW. BY SELECTING THE “I ACCEPT” BUTTON BELOW, OR DOWNLOADING, REPRODUCING, DISTRIBUTING OR OTHERWISE USING THE SOFTWARE, YOU AGREE TO BE BOUND BY THE TERMS AND CONDITIONS SET FORTH BELOW. IF YOU DO NOT AGREE TO ALL OF THE TERMS AND CONDITIONS, SELECT THE 'I DO NOT ACCEPT' BUTTON AND YOU MUST NOT DOWNLOAD, INSTALL OR OTHERWISE USE THE SOFTWARE.
Vkadaba 22:2835e9e9f59f 5
Vkadaba 24:2d2cb6ac71fd 6 DOWNLOADING, REPRODUCING, DISTRIBUTING OR OTHERWISE USING THE SOFTWARE CONSTITUTES ACCEPTANCE OF THIS LICENSE. THE SOFTWARE MAY NOT BE USED EXCEPT AS EXPRESSLY AUTHORIZED UNDER THIS LICENSE.
Vkadaba 22:2835e9e9f59f 7
Vkadaba 24:2d2cb6ac71fd 8 The software is protected by copyright law and international copyright treaties.
Vkadaba 22:2835e9e9f59f 9
Vkadaba 24:2d2cb6ac71fd 10 1. License: Subject to the terms and conditions of this license, the software may be reproduced, modified and distributed in source code and object code form.
Vkadaba 22:2835e9e9f59f 11
Vkadaba 24:2d2cb6ac71fd 12 2. Conditions:
Vkadaba 24:2d2cb6ac71fd 13 (a) Any distribution of the software must include a complete copy of this license and retain all copyright and other proprietary notices. The software that is distributed (including modified versions of the software) shall be subject to the terms and conditions of this license.
Vkadaba 24:2d2cb6ac71fd 14 (b) The software may not be combined or merged with other software in any manner that would cause the software to become subject to terms and conditions which differ from those of this license.
Vkadaba 24:2d2cb6ac71fd 15 (c) Licensee shall not use the name or any trademark of ADI (including those of its licensors) or any contributor to endorse or promote products without prior written consent of the owner of the name or trademark. The term “contributor” means any person or entity that modifies or distributes the software.
Vkadaba 24:2d2cb6ac71fd 16 (d) Modified versions of the Software must be conspicuously marked as such.
Vkadaba 24:2d2cb6ac71fd 17 (e) Use of the software may or may not infringe patent rights of one or more patent holders.  This license does not alleviate the obligation to obtain separate licenses from patent holders to use the software.
Vkadaba 24:2d2cb6ac71fd 18 (f) All rights not expressly granted hereunder are reserved.
Vkadaba 24:2d2cb6ac71fd 19 (g) This license shall be governed by the laws of Massachusetts, without regard to its conflict of laws rules. The software shall only be used in compliance with all applicable laws and regulations, including without limitation export control laws.
Vkadaba 22:2835e9e9f59f 20
Vkadaba 24:2d2cb6ac71fd 21 3. WARRANTY DISCLAIMER: THE SOFTWARE AND ANY RELATED INFORMATION AND/OR ADVICE IS PROVIDED ON AN “AS IS” BASIS, WITHOUT REPRESENTATIONS, GUARANTEES OR WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, ORAL OR WRITTEN, INCLUDING WITHOUT LIMITATION, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. There is no obligation to provide software support or updates. The Software is not fault-tolerant and is not intended for use in high risk applications, including without limitation in the operation of nuclear facilities, aircraft navigation or control systems, air traffic control, life support machines, weapons systems, autonomous driving or other safety critical automotive applications, or any other application in which the failure of the software could lead to death, personal injury, or severe physical or environmental damages. The software is not authorized to be used under such circumstances.
Vkadaba 22:2835e9e9f59f 22
Vkadaba 24:2d2cb6ac71fd 23 4. LIMITATION OF LIABILITY: TO THE MAXIMUM EXTENT PERMITTED BY LAW ADI (INCLUDING ITS LICENSORS) AND CONTRIBUTORS SHALL NOT BE LIABLE FOR ANY DAMAGES ARISING FROM OR RELATED TO THE SOFTWARE, ITS USE OR ANY RELATED INFORMATION AND/OR SERVICES, INCLUDING BUT NOT LIMITED TO ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE, EXEMPLARY, CONSEQUENTIAL OR ANALOGOUS DAMAGES (INCLUDING WITHOUT LIMITATION ANY DAMAGES RESULTING FROM LOSS OF USE, DATA, REVENUE, PROFITS, OR SAVINGS, COMPUTER DAMAGE OR ANY OTHER CAUSE), UNDER ANY LEGAL THEORY (INCLUDING WITHOUT LIMITATION CONTRACT, WARRANTY, TORT, NEGLIGENCE, STRICT OR PRODUCT LIABILITY), EVEN IF IT HAS BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. Some jurisdictions do not permit the exclusion or limitation of liability for consequential, incidental or other damages, and, as such, some portion of the above limitation may not apply. In such jurisdictions, liability is limited to the greatest extent permitted by law.
Vkadaba 24:2d2cb6ac71fd 24 5. Third Party Software: The software may be accompanied by or include software made available by one or more third parties (“Third Party Software”). Each portion of Third Party Software is subject to its own separate software license terms and conditions (“Third Party Licenses”). The Third Party Licenses for Third Party Software delivered with the software are set forth or identified (by url or otherwise) in (i) Appendix A to this license (if any), (ii) the applicable software header or footer text, (iii) a text file located in the directory of the applicable Third Party Software component and/or (iv) such other location customarily used for licensing terms. The use of each portion of Third Party Software is subject to the Third Party Licenses, and you agree that your use of any Third Party Software is bound by the applicable Third Party License. You agree to review and comply with all applicable Third Party Licenses prior to any use or distribution of any Third Party Software. Third Party Software is provided on an “as is” basis without any representation, warranty or liability of any kind. ADI (including its licensors) and contributors shall have no liability or responsibility for the operation or performance of the Third Party Software and shall not be liable for any damages, costs, or expenses, direct or indirect, arising out of the performance or failure to perform of the Third Party Software. ADI (including its licensors) and contributors shall be entitled to the benefit of any and all limitations of liability and disclaimers of warranties contained in the Third Party Licenses. For the avoidance of doubt, this license does not alter, limit or expand the terms and conditions of, or rights granted to you pursuant to, Third Party Licenses.
Vkadaba 22:2835e9e9f59f 25
Vkadaba 24:2d2cb6ac71fd 26 Appendix A – Third Party License
Vkadaba 22:2835e9e9f59f 27
Vkadaba 24:2d2cb6ac71fd 28 Crc16 function source code
Vkadaba 22:2835e9e9f59f 29
Vkadaba 24:2d2cb6ac71fd 30 Download page: https://www.menie.org/georges/embedded/crc16.html
Vkadaba 24:2d2cb6ac71fd 31 Online license: No separate online license. License text below as extracted from source files.
Vkadaba 24:2d2cb6ac71fd 32 /*
Vkadaba 24:2d2cb6ac71fd 33 * Copyright 2001-2010 Georges Menie (www.menie.org)
Vkadaba 24:2d2cb6ac71fd 34 * All rights reserved.
Vkadaba 24:2d2cb6ac71fd 35 * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Vkadaba 24:2d2cb6ac71fd 36 * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Vkadaba 24:2d2cb6ac71fd 37 * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Vkadaba 24:2d2cb6ac71fd 38 * Neither the name of the University of California, Berkeley nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
Vkadaba 24:2d2cb6ac71fd 39 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Vkadaba 24:2d2cb6ac71fd 40 */
Vkadaba 24:2d2cb6ac71fd 41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Vkadaba 22:2835e9e9f59f 42
Vkadaba 22:2835e9e9f59f 43
Vkadaba 22:2835e9e9f59f 44
Vkadaba 22:2835e9e9f59f 45
Vkadaba 22:2835e9e9f59f 46
Vkadaba 22:2835e9e9f59f 47
Vkadaba 24:2d2cb6ac71fd 48
Vkadaba 24:2d2cb6ac71fd 49 20190909-ADMWMDF-CTSLA Page 2 of 2
Vkadaba 22:2835e9e9f59f 50
Vkadaba 22:2835e9e9f59f 51
Vkadaba 22:2835e9e9f59f 52