Details |
Last modification |
View Log
| SVN
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 363 |
johboh |
1 |
#ifndef CRC16_H |
|
|
2 |
#define CRC16_H |
|
|
3 |
|
|
|
4 |
#define uint16 unsigned int |
|
|
5 |
#define uint8 unsigned char |
|
|
6 |
|
|
|
7 |
void update_crc(uint16 *p_crc, uint8 data); |
|
|
8 |
uint16 calc_crc(uint8 * p_data, uint16 n_bytes); |
|
|
9 |
|
|
|
10 |
#endif |