First class data visualization and communication library with embedded devices. Code is maintained at github.com/Overdrivr/Telemetry

Dependents:   telemetry_car_demo telemetry_demo_FRDM-TFC telemetry_example_01 telemetry_indexed_data_demo ... more

c_api/crc16.h

Committer:
Overdrivr
Date:
2016-04-12
Revision:
7:d224bddd5405
Parent:
5:cd94bb58e096

File content as of revision 7:d224bddd5405:

#ifndef CRC16_H_
#define CRC16_H_

//From : https://en.wikipedia.org/wiki/Computation_of_cyclic_redundancy_checks

#include "stdint.h"

uint16_t crc16(uint8_t * data, uint32_t lenght);
uint16_t crc16_recursive(uint8_t byte, uint16_t remainder);

#endif