btnut/btnode/include/cc/crc.h File Reference


Detailed Description

CRC-16 CCITT routine.

Author:
Matthias Ringwald <mringwal@inf.ethz.ch>
Date:
2004/06/19
Polynomial: x^16 + x^12 + x^5 + 1 (0x8408) Initial value: 0xffff

Needed only for unix emulation as crc_ccitt_update is included in avr-libc


Functions

u_short crc_ccitt_compute (u_char *buf, u_short size)
u_short crc_ccitt_update (u_short crc, u_char data)


Generated on Wed Apr 29 11:12:29 2009 for BTnut System Software by doxygen 1.5.1
!!! Dieses Dokument stammt aus dem ETH Web-Archiv und wird nicht mehr gepflegt !!!
!!! This document is stored in the ETH Web archive and is no longer maintained !!!