/* CRC-32b version 1.03 by Craig Bruce, 27-Jan-94 ** ** Based on "File Verification Using CRC" by Mark R. Nelson in Dr. Dobb's *…
crc-ccitt 源代码
cRC-CCITT是一种广泛应用于数据通信领域的循环冗余校验算法,以其高效性和准确性著称。它能够有效检测数据传输过程中的错误,确保信息的完整无损。在物联网、无线通信及嵌入式系统设计中扮演着不可或缺的角色。掌握cRC-CCITT对于提升项目可靠性至关重要。本页面汇集了682个精选资…
#include #include #define crc_model 0x1021l #define crc_byte 0x8000l #define last_byte 2 idata unsigned short crc_variable; …
/* * Calculate, intelligently, the CRC of a dataset incrementally given a * buffer full at a time. * Initialize crc to 0 for…
/* CRC-32b version 1.03 by Craig Bruce, 27-Jan-94 ** ** Based on "File Verification Using CRC" by Mark R. Nelson in Dr. Dobb's *…
/* ********************************************************************************************************* * …
/* CRC-32b version 1.03 by Craig Bruce, 27-Jan-94 ** ** Based on "File Verification Using CRC" by Mark R. Nelson in Dr. Dobb's…
/* * T10 Data Integrity Field CRC16 calculation * * Copyright (c) 2007 Oracle Corporation. All rights reserved. * Written by …
/* * linux/lib/crc-ccitt.c * * This source code is licensed under the GNU General Public License, * Version 2. See the file CO…