manually merged with ARM version

This commit is contained in:
2025-11-13 17:43:55 +03:00
parent f978759ae0
commit 04015fb4cb
463 changed files with 119514 additions and 45 deletions

View File

@ -0,0 +1,21 @@
#ifndef CRC_H_
#define CRC_H_
#ifdef __cplusplus
extern "C" {
#endif
/*===============================================================================================================*/
extern unsigned short eval_crc16 (unsigned short crc, const unsigned char *msg, unsigned msg_len);
extern unsigned short eval_crc16tbl (unsigned short crc, const unsigned char *msg, unsigned msg_len);
extern unsigned char eval_crc8 (unsigned char crc, const unsigned char *msg, unsigned msg_len);
extern unsigned short eval_modbuscrc (unsigned short init_crc, const unsigned char *msg, unsigned msg_len);
#ifdef REV_CRC
extern unsigned char eval_revcrc8 (unsigned char crc, const unsigned char *msg, unsigned msg_len);
#endif
/*===============================================================================================================*/
#ifdef __cplusplus
}
#endif
#endif