ENEL400 / crc

Dependents:   AlohaTransceiver

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers crc.h Source File

crc.h

00001 #ifndef crc_h_
00002 #define crc_h_
00003 
00004 #include <stdint.h>
00005 
00006 // x^8 + x^2 + x + 1 polynomial
00007 #define CRC8_GEN 0x1070 
00008 
00009 uint8_t crc8(const uint8_t *data, int len);
00010 
00011 #endif