#include <math.h>
#include <stdio.h>
Go to the source code of this file.
|
| typedef unsigned char | uchar |
| |
|
| 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 [] = "asdffeagewaHAFEFaeDsFEawFdsFaefaeerdjgpim23" |
| |
◆ HIBYTE
| #define HIBYTE |
( |
|
x | ) |
((uchar)((x) >> 8)) |
◆ LOBYTE
| #define LOBYTE |
( |
|
x | ) |
((uchar)((x) & 0xFF)) |
◆ uchar
| typedef unsigned char uchar |
Definition at line 6 of file spec.c.
◆ icrc()
| unsigned short icrc |
( |
unsigned short |
crc, |
|
|
unsigned char * |
lin, |
|
|
unsigned int |
len, |
|
|
short |
jinit, |
|
|
int |
jrev |
|
) |
| |
◆ icrc1()
| unsigned short icrc1 |
( |
unsigned short |
crc, |
|
|
unsigned char |
onech |
|
) |
| |
◆ main()
◆ aa
| unsigned char aa[] = "asdffeagewaHAFEFaeDsFEawFdsFaefaeerdjgpim23" |