62
SE-602-N User Manual
1.2.3 CRC
Protocol uses 16-bit CCITT CRC to verify data integrity.
P(x) = X
16
+X
12
+X
5
+1.
unsigned
calc_crc(
unsigned
char
*data,
unsigned
n,
unsigned
start) {
unsigned
I, k, q, c, crcval;
crcval=start;
for
(I=0; I<n; I++) {
c=data(I) & 0xFF;
q=(crcval^c) & 0x0F;
crcval=(crcval>>4)^(q*0x1081);
}
return
crcval;
}
Содержание SE-602-N
Страница 1: ...SE 602 N User Manual SE 602 N User Manual...
Страница 2: ...ii SE 602 N User Manual Revision Release Date V1 0 2016 01 18...
Страница 8: ......
Страница 11: ...Copyright 2013 IBASE Technology Inc All Rights Reserved 3 IBASE Technology Inc 1 2 2 Dimensions...
Страница 12: ...4 SE 602 N User Manual 1 2 3 I O View SE 602 N front side SE 602 N rear side...
Страница 20: ...12 SE 602 N User Manual IMBD602 Board Dimensions...
Страница 48: ...40 SE 602 N User Manual 5 Click Next to to agree with the license agreement and continue the installation...