Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: telemetry_car_demo telemetry_demo_FRDM-TFC telemetry_example_01 telemetry_indexed_data_demo ... more
Diff: c_api/crc16.h
- Revision:
- 3:37d2d127bc83
- Parent:
- 0:3a30eba5d8f7
- Child:
- 5:cd94bb58e096
diff -r b7a3ac7bcec8 -r 37d2d127bc83 c_api/crc16.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/c_api/crc16.h Mon Feb 22 17:17:52 2016 +0000 @@ -0,0 +1,11 @@ +#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 \ No newline at end of file