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@0:c4676d32d381, 2015-09-15 (annotated)
- Committer:
- Overdrivr
- Date:
- Tue Sep 15 15:27:55 2015 +0000
- Revision:
- 0:c4676d32d381
- Child:
- 1:aaffeb93f99b
Version not bug free (especially names should not be longer thant 8 characters or have spaces), but pretty reliable behavior. See github repo for tickets
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Overdrivr | 0:c4676d32d381 | 1 | #ifndef CRC_H_ |
Overdrivr | 0:c4676d32d381 | 2 | #define CRC_H_ |
Overdrivr | 0:c4676d32d381 | 3 | |
Overdrivr | 0:c4676d32d381 | 4 | #include <stdint.h> |
Overdrivr | 0:c4676d32d381 | 5 | |
Overdrivr | 0:c4676d32d381 | 6 | //unsigned crc8(unsigned char *data, uint16_t len); |
Overdrivr | 0:c4676d32d381 | 7 | uint16_t crc16(uint8_t *data, uint16_t len); |
Overdrivr | 0:c4676d32d381 | 8 | |
Overdrivr | 0:c4676d32d381 | 9 | #endif |
Overdrivr | 0:c4676d32d381 | 10 |