Compute the crc-16 for the data buffer
u16 crc16(u16 crc, u8 const * buffer, size_t len);
crc
previous CRC value
buffer
data pointer
len
number of bytes in the buffer
Returns the updated CRC value.