#include <math.h>
#include <stdio.h>
|
unsigned short | icrc1 (unsigned short crc, unsigned char onech) |
|
unsigned short | icrc (unsigned short crc, unsigned char *lin, unsigned int len, short jinit, int jrev) |
|
int | main (void) |
|
|
unsigned char | aa [] = "asdffeagewaHAFEFaeDsFEawFdsFaefaeerdjgpim23eDsFEawFdsFaefaeerdjgpim23faeerdjgpim23eDsFEawFdsFaefaeerdjgpim23asdffeagewaHAFEFaeDsFEawFdsFaefaeerdjgpim23eDsFEawFdsFaefaeerdjgpim23faeerdjgpim23eDsFEawFdsFaefaeerdjgpim23" |
|
#define HIBYTE |
( |
|
x | ) |
((uchar)((x) >> 8)) |
#define LOBYTE |
( |
|
x | ) |
((uchar)((x) & 0xFF)) |
unsigned short icrc |
( |
unsigned short |
crc, |
|
|
unsigned char * |
lin, |
|
|
unsigned int |
len, |
|
|
short |
jinit, |
|
|
int |
jrev |
|
) |
| |
unsigned short icrc1 |
( |
unsigned short |
crc, |
|
|
unsigned char |
onech |
|
) |
| |
References i.
Referenced by icrc().
unsigned char aa[] = "asdffeagewaHAFEFaeDsFEawFdsFaefaeerdjgpim23eDsFEawFdsFaefaeerdjgpim23faeerdjgpim23eDsFEawFdsFaefaeerdjgpim23asdffeagewaHAFEFaeDsFEawFdsFaefaeerdjgpim23eDsFEawFdsFaefaeerdjgpim23faeerdjgpim23eDsFEawFdsFaefaeerdjgpim23" |