21 lines
173 B
C
21 lines
173 B
C
|
|
#ifndef __CRC8_H__
|
|
#define __CRC8_H__
|
|
|
|
/*
|
|
|
|
CRC8 算法模块
|
|
|
|
提供查表法和移位法两种 CRC8 算法
|
|
|
|
*/
|
|
|
|
#include "afxdef.h"
|
|
|
|
|
|
u8 CalcCrc8(const u8 * pBuf, int lenBuf);
|
|
|
|
|
|
#endif
|
|
|