Subroutines > Detailed Descriptions

CRC16

xcall CRC16, block, crc, size

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

Parameters

block  (Num)  [in]

is an unformatted variable of arbitrary size.

crc  [out]

will return the CRC-16 value.

size  [in]

specifies the number of bytes within block to consider.