Name

crc7 — update the CRC7 for the data buffer

Synopsis

u8 crc7 (u8  crc,
 const u8 *  buffer,
 size_t  len);

Arguments

crc

previous CRC7 value

buffer

data pointer

len

number of bytes in the buffer

Context

any

Description

Returns the updated CRC7 value.