18 lines
251 B
C
18 lines
251 B
C
#ifndef _crc16_H
|
|
#define _crc16_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "stdint.h"
|
|
|
|
void Get_Crc16(uint8_t *puchMsg, uint16_t usDataLen, uint8_t result[]);
|
|
uint8_t Get_Crc8(uint8_t *ptr, uint16_t len);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|