CRC16

xcall CRC16, block, crc, size

CRC16.SBR calculates a 16 bit CRC (aka CRC-16) for the specified block of data.

Parameters

block  (Raw)  [in]

is an unformatted variable of arbitrary size.

crc  (Num)  [out]

will return the CRC-16 value.

size  (Num)  [in]

specifies the number of bytes within block to consider.