Files
player/Project/Src/MyApp/crc8_16.h

18 lines
251 B
C
Raw Normal View History

2025-06-27 00:32:57 +08:00
#ifndef _crc16_H
#define _crc16_H
#ifdef __cplusplus
extern "C" {
2025-06-27 00:32:57 +08:00
#endif
#include "stdint.h"
2025-06-27 00:32:57 +08:00
void Get_Crc16(uint8_t *puchMsg, uint16_t usDataLen, uint8_t result[]);
uint8_t Get_Crc8(uint8_t *ptr, uint16_t len);
2025-06-27 00:32:57 +08:00
#ifdef __cplusplus
}
2025-06-27 00:32:57 +08:00
#endif
#endif