crc.h
Go to the documentation of this file.
00001 
00039 #ifndef __CRC16_H
00040 #define __CRC16_H
00041 
00042 #include <stdint.h>
00043 
00044 /***----------Table-driven crc function----------***/
00045 /*Inputs: -size of the character array, the CRC of which is being computed   */
00046 /*        - the initial value of the register to be used in the calculation  */
00047 /*        - a pointer to the first element of said character array           */
00048 /*Outputs: the crc as an unsigned short int                                  */
00049 uint16_t crc16(int size, int init_val, uint8_t *data);
00050 
00051 #endif


roch_base
Author(s): Mike Purvis , Paul Bovbel , Carl
autogenerated on Sat Jun 8 2019 20:32:33