Main Page
Namespaces
Classes
Files
File List
File Members
include
roch_base
core
crc.h
Go to the documentation of this file.
1
39
#ifndef __CRC16_H
40
#define __CRC16_H
41
42
#include <stdint.h>
43
44
/***----------Table-driven crc function----------***/
45
/*Inputs: -size of the character array, the CRC of which is being computed */
46
/* - the initial value of the register to be used in the calculation */
47
/* - a pointer to the first element of said character array */
48
/*Outputs: the crc as an unsigned short int */
49
uint16_t
crc16
(
int
size,
int
init_val, uint8_t *data);
50
51
#endif
crc16
uint16_t crc16(int size, int init_val, uint8_t *data)
Definition:
crc.cpp:80
roch_base
Author(s): Mike Purvis
, Paul Bovbel
, Chen
autogenerated on Mon Jun 10 2019 14:41:13