This commit is contained in:
2026-03-20 21:16:58 +08:00
parent 286ff98b8e
commit 90c3d919df
248 changed files with 94554 additions and 0 deletions

12
user/Utility/CRC.h Executable file
View File

@@ -0,0 +1,12 @@
#ifndef __CRC_h__
#define __CRC_h__
#define CRC16_POLY 0x1021;
#define CRC16_INIT_VAL 0
//**************************************************************************************************
u8 CRC8(u8 *ucDptr, u8 ucLen);
u16 SlowCRC16(u16 sum, u32 codeAdr, u16 Len);
u8 CRC8_Talbe_I2CWord(u16 Data);
u8 I2CWordCrc(u8 crcH, u8 crcL);
#endif