u8CCITT8()
Explanation
Argument
Returns
Sample code
#include "ccitt8.h"
...
char str[] = "abcABCDE";
uint8 u8crc = u8CCITT8(str, strlen(str));最終更新
Calculate the CRC8.
Type
Name
Remark
uint8*
pu8Data
A string of bytes to calculate the CRC8.
unit8
size
Number of bytes to calculate.
Type
Remark
uint8
The calculated value of CRC8.
#include "ccitt8.h"
...
char str[] = "abcABCDE";
uint8 u8crc = u8CCITT8(str, strlen(str));最終更新