CM_DOG/User/component/crc16.h
2025-06-26 05:11:10 +08:00

18 lines
201 B
C

/*
N100陀螺仪包头crc16校验
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
uint16_t crc16_calc(const uint8_t *data, uint8_t len);
#ifdef __cplusplus
}
#endif