QT60168C-ASG-SL683 Atmel, QT60168C-ASG-SL683 Datasheet - Page 26

no-image

QT60168C-ASG-SL683

Manufacturer Part Number
QT60168C-ASG-SL683
Description
Interface - Specialized Integrated Circuit
Manufacturer
Atmel
Datasheet

Specifications of QT60168C-ASG-SL683

Product Category
Interface - Specialized
Rohs
yes
Maximum Operating Temperature
+ 105 C
Mounting Style
SMD/SMT
Package / Case
TQFP-32
Minimum Operating Temperature
- 40 C
7 Appendix
7.1 8-Bit CRC Algorithm
// 8 bits crc calculation. Initial value is 0.
// polynomial = X
// data is an 8 bit number;
unsigned char eight_bit_crc(unsigned char crc, unsigned char data)
{ unsigned char index;
}
A CRC calculator for Windows is available free of charge from Quantum Research.
lQ
unsigned char fb;
index = 8;
do
{ fb = (crc ^ data) & 0x01;
} while(--index);
data >>= 1;
crc >>= 1;
If(fb)
{ crc ^= 0x8c;
}
return crc;
8
+ X
5
// initialise the shift counter
+ X
4
+ 1
crc is a 8 bit number
// shift counter
26
QT60248-AS R4.02/0405

Related parts for QT60168C-ASG-SL683