crc.h
Go to the documentation of this file.
1 
48 #ifndef __CRC16_H
49 #define __CRC16_H
50 
51 #include <stdint.h>
52 
53 /***----------Table-driven crc function----------***/
54 /*Inputs: -size of the character array, the CRC of which is being computed */
55 /* - the initial value of the register to be used in the calculation */
56 /* - a pointer to the first element of said character array */
57 /*Outputs: the crc as an unsigned short int */
58 uint16_t crc16(int size, int init_val, uint8_t *data);
59 
60 #endif
uint16_t crc16(int size, int init_val, uint8_t *data)
Definition: crc.cpp:80


husky_base
Author(s): Mike Purvis , Paul Bovbel
autogenerated on Fri Oct 2 2020 03:40:07