This graph shows which files directly or indirectly include this file:
Defines | |
#define | CRC32 |
#define | CRC_NAME "CRC-32" |
#define | POLYNOMIAL 0x04C11DB7 |
#define | INITIAL_REMAINDER 0xFFFFFFFF |
#define | FINAL_XOR_VALUE 0xFFFFFFFF |
#define | REFLECT_DATA TRUE |
#define | REFLECT_REMAINDER TRUE |
#define | CHECK_VALUE 0xCBF43926 |
Typedefs | |
typedef unsigned long | crc |
Functions | |
void | crcInit (void) |
crc | crcSlow (unsigned char const message[], int nBytes) |
crc | crcFast (unsigned char const message[], int nBytes) |
unsigned char | generate_crc7 (unsigned char *buf, unsigned char bytes) |
Generate CRC7. |
#define CHECK_VALUE 0xCBF43926 |
#define CRC32 |
#define CRC_NAME "CRC-32" |
#define FINAL_XOR_VALUE 0xFFFFFFFF |
#define INITIAL_REMAINDER 0xFFFFFFFF |
#define POLYNOMIAL 0x04C11DB7 |
#define REFLECT_DATA TRUE |
#define REFLECT_REMAINDER TRUE |
typedef unsigned long crc |
crc crcFast | ( | unsigned char const | message[], | |
int | nBytes | |||
) |
void crcInit | ( | void | ) |
crc crcSlow | ( | unsigned char const | message[], | |
int | nBytes | |||
) |
unsigned char generate_crc7 | ( | unsigned char * | buf, | |
unsigned char | bytes | |||
) |
Generate CRC7.
This function generates a 7 bit CRC using the X^7 + X^3 + 1 polynomial
Parameters:
buf | Pointer to the first data byte to be calculated | |
bytes | Total number of bytes to be included in crc calculation |