SYS_Crc16Ccitt Function

C

INLINE uint16_t SYS_Crc16Ccitt(uint16_t initValue, uint8_t byte)

Description

Calculates CRC using CRC-16-CCITT algorithm

ingroup sys

Parameters

ParamDescription
initValueCRC initial value
bytenext byte to calculate CRC

Returns

calculated CRC value