Framework for reading and writing variables in real time on any MBED platform.
DistantIO
This is the C implementation of the DistantIO slave framework.
Library is working but slight API breaks may occur in the future. C++ version is also in development.
To get the master-side implementation, see https://github.com/Overdrivr/DistantIO
crc.h@1:aaffeb93f99b, 2015-10-08 (annotated)
- Committer:
- Overdrivr
- Date:
- Thu Oct 08 12:27:20 2015 +0000
- Revision:
- 1:aaffeb93f99b
- Parent:
- 0:c4676d32d381
commit for publish
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Overdrivr | 1:aaffeb93f99b | 1 | //From : https://en.wikipedia.org/wiki/Computation_of_cyclic_redundancy_checks |
Overdrivr | 1:aaffeb93f99b | 2 | |
Overdrivr | 0:c4676d32d381 | 3 | #ifndef CRC_H_ |
Overdrivr | 0:c4676d32d381 | 4 | #define CRC_H_ |
Overdrivr | 0:c4676d32d381 | 5 | |
Overdrivr | 0:c4676d32d381 | 6 | #include <stdint.h> |
Overdrivr | 0:c4676d32d381 | 7 | |
Overdrivr | 0:c4676d32d381 | 8 | uint16_t crc16(uint8_t *data, uint16_t len); |
Overdrivr | 0:c4676d32d381 | 9 | |
Overdrivr | 0:c4676d32d381 | 10 | #endif |
Overdrivr | 0:c4676d32d381 | 11 |