crc16.h 306 B

1234567891011121314151617181920
  1. /**
  2. * @file
  3. * @author chipsea
  4. * @brief
  5. * @version 0.1
  6. * @date 2020-11-30
  7. * @copyright Copyright (c) 2020, CHIPSEA Co., Ltd.
  8. * @note
  9. */
  10. #ifndef _CRC16_H__
  11. #define _CRC16_H__
  12. #include <stdint.h>
  13. uint16_t crc16(uint16_t seed, const volatile void * p_data, uint32_t size);
  14. #endif // _CRC16_H__