Hi there,

I'm working on with
LTC6802(http://cds.linear.com/docs/Datasheet/68021fa.pdf page 21)
which uses CRC-8-CCITT(http://en.wikipedia.org/wiki/Cyclic_redundancy_check
x^8 + x^2 + x + 1). The util/crc16.h (well I'm not quite sure why it
is called crc16, but that is another story) could include a function
to compute the CRC-8-CCITT. I found this BSD project that has the code
implemented and it worked for me.
http://www.google.com/codesearch/p?hl=fr#M2_HPf5NDc8/trunk/2009/robostix/robostix/Shared/Crc8.c

Any chance this could be added to the library?
I'll work on a patch file this would be welcome in the three.

Frédéric Nadeau ing. jr

_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to