whyclwt
2022-05-18 bc4a995082e242eb848c01ff98bf03737c229722
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef CRC16_H
#define CRC16_H
 
class CRC16
{
public:
    CRC16();
    static unsigned short CalCRC16(const void *data, const int count);
    static unsigned short CalModbusCRC16(void *puchMsg, const unsigned short usDataLen);
};
 
#endif // CRC16_H