other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
CRC7_BE(9) | Basic Kernel Library Functions | CRC7_BE(9) |
NAME¶
crc7_be - update the CRC7 for the data bufferSYNOPSIS¶
u8
crc7_be(u8 crc,
const u8 * buffer,
size_t len);
ARGUMENTS¶
crcprevious CRC7 value
buffer
data pointer
len
number of bytes in the buffer
CONTEXT¶
anyDESCRIPTION¶
Returns the updated CRC7 value. The CRC7 is left-aligned in the byte (the lsbit is always 0), as that makes the computation easier, and all callers want it in that form.COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |