This repository has been archived on 2025-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
SP713_Upper_C/apps/crc16/crc.h
2025-07-17 13:10:47 +08:00

11 lines
249 B
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef CRC_H
#define CRC_H
#include <QByteArray>
// 直接计算反射型CRC16-CCITT输出低字节在前的QByteArray
QByteArray crc16Reverse(const QByteArray& data);
// void generate_crc16_reverse_table(quint16 table[256]);
#endif // CRC_H