CRC7 Class Reference

#include <CRC7.h>

List of all members.

Public Member Functions

 CRC7 ()
unsigned char CRC (unsigned char message[], unsigned char length)
void void init ()

Detailed Description

The CRC7 class is used to Calculate CRC7 values. It used a prehashed table so it is pretty heavy on memory however it is lightening fast. With CRC computation it always a compromise between memory and speed.

When the Pololu Qik2s9v1 is in CRC mode it will expect a CRC for every command line it recieves.


Constructor & Destructor Documentation

CRC7::CRC7 (  ) 

constructor this not longer generate the hash table. Invoke init() to do this.

See also:
init()

Member Function Documentation

unsigned char CRC7::CRC ( unsigned char  message[],
unsigned char  length 
)

Call this to has a message.

void CRC7::init (  ) 

Initialises the CRC engine.

Since:
0.2

The documentation for this class was generated from the following files:
 All Classes Files Functions
Generated on Thu Aug 12 09:50:26 2010 for CRC7 by  doxygen 1.6.3