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
|
|