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
Param | Description |
---|---|
initValue | CRC initial value |
byte | next byte to calculate CRC |
Returns
calculated CRC value