Main Page
Modules
Data Structures
Files
Related Pages
File List
Globals
lib/include/crc.h File Reference
Calculate the CRC-16 CCITT of buffer that is size bytes long.
More...
#include <inttypes.h>
Go to the source code of this file.
Defines
#define
CRC_OK
0
#define
CRC_ERROR
-1
Detailed Description
Parameters:
buf
Pointer to data buffer.
size
number of bytes in data buffer
Returns:
CRC-16 of buffer[0 .. length]
Definition in file
crc.h
.
Generated on Mon Nov 23 06:25:59 2009 for MANTIS by
1.4.6