25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

27 lines
477 B

  1. /**
  2. * @file crc16.h
  3. * @author zhangcheng
  4. * @brief CRC16校验接口文件
  5. * @version v0.1
  6. * @date 2025-07-25
  7. *
  8. * @copyright Copyright (c) 2025
  9. */
  10. #ifndef _CRC16_H
  11. #define _CRC16_H
  12. /**
  13. * @brief CRC16校验函数
  14. * @details
  15. *
  16. * @param[in] *data 数据缓冲区首地址
  17. * @param[in] dataLenght 数据长度
  18. *
  19. * @return uint16_t CRC校验值
  20. */
  21. uint16_t CRC16(uint8_t *data, uint32_t dataLenght);
  22. #endif