Go to the source code of this file.
◆ CRC_Block()
unsigned short CRC_Block |
( |
byte * |
start, |
|
|
int |
count |
|
) |
| |
Definition at line 82 of file crc.c.
88 crc = (crc << 8) ^
crctable[(crc >> 8) ^ *start++];
◆ CRC_Init()
void CRC_Init |
( |
unsigned short * |
crcvalue | ) |
|
Definition at line 67 of file crc.c.
◆ CRC_ProcessByte()
void CRC_ProcessByte |
( |
unsigned short * |
crcvalue, |
|
|
byte |
data |
|
) |
| |
Definition at line 72 of file crc.c.
74 *crcvalue = (*crcvalue << 8) ^
crctable[(*crcvalue >> 8) ^ data];
◆ CRC_Value()
unsigned short CRC_Value |
( |
unsigned short |
crcvalue | ) |
|
Definition at line 77 of file crc.c.