T
T
MWSDK(TWELITE SDK)
MWSDK_EN
MONO WIRELESS INC.
検索
⌃K
Links
TWELITE SDK (MWSDK) manual
Introduction
Get the latest version
How to use TWELITE SDK
TWELIET NET API overview
TWELITE NET API references
HW API reference
Utils references, others.
ByteQueue
u8CCITT8()
SPRINTF library
BTM library (consecutive reading) DIO input
GitBook
上で動作しています
u8CCITT8()
Explanation
Calculate the CRC8.
Argument
Type
Name
Remark
uint8*
pu8Data
A string of bytes to calculate the CRC8.
unit8
size
Number of bytes to calculate.
Returns
Type
Remark
uint8
The calculated value of CRC8.
Sample code
#
include
"ccitt8.h"
...
char
str
[]
=
"abcABCDE"
;
uint8 u8crc
=
u8CCITT8
(
str
,
strlen
(
str
));
前
ByteQueue
次
SPRINTF library
最終更新
1yr ago