crc.h
Go to the documentation of this file.
00001 
00048 #ifndef __CRC16_H
00049 #define __CRC16_H
00050 
00051 #include <stdint.h>
00052 
00053 /***----------Table-driven crc function----------***/
00054 /*Inputs: -size of the character array, the CRC of which is being computed   */
00055 /*        - the initial value of the register to be used in the calculation  */
00056 /*        - a pointer to the first element of said character array           */
00057 /*Outputs: the crc as an unsigned short int                                  */
00058 uint16_t crc16(int size, int init_val, uint8_t *data);
00059 
00060 #endif


husky_base
Author(s): Mike Purvis , Paul Bovbel
autogenerated on Sat Jun 8 2019 18:26:01