|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include <stdint.h>

函数 | |
| uint16_t | uapi_crc16 (uint16_t crc_start, const uint8_t *buf, uint32_t length) |
| 计算16位CRC校验值. 多项式: x16 + x12 + x5 + 1 (0x1021)。 | |
| uint32_t | uapi_crc32 (uint32_t crc_start, const uint8_t *buf, uint32_t length) |
| 计算32位CRC校验值. 多项式符合IEEE 802.3 CRC-32标准(0x04C11DB7)。 | |
| uint32_t | uapi_crc32_no_comp (uint32_t crc_start, const uint8_t *buf, uint32_t length) |
| 计算32位CRC校验值(无补码). 多项式符合IEEE 802.3 CRC-32标准(0x04C11DB7)。 | |