lri2k STMicroelectronics, lri2k Datasheet - Page 86
lri2k
Manufacturer Part Number
lri2k
Description
13.56 Mhz, 2048-bit Eeprom Tag Ic With 64-bit Uid And Kill Code, Iso 15693 And Iso 18000-3 Mode 1 Compliant
Manufacturer
STMicroelectronics
Datasheet
1.LRI2K.pdf
(89 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
CRC (Informative)
86/89
int)array_of_databytes[i]);
POLYNOMIAL;
stream
current_crc_value);
current_crc_value);
}
}
else
{
}
current_crc_value = PRESET_VALUE;
for (i = 0; i < number_of_databytes; i++)
{
}
if (calculate_or_check_crc == CALC_CRC)
{
}
else
{
}
number_of_databytes = NUMBER_OF_BYTES + 2;
current_crc_value = current_crc_value ^ ((unsigned
for (j = 0; j < 8; j++)
{
}
current_crc_value = ~current_crc_value;
printf ("Generated CRC is 0x%04X\n", current_crc_value);
// current_crc_value is now ready to be appended to the data
// (first LSByte, then MSByte)
if (current_crc_value == CHECK_VALUE)
{
}
else
{
}
// check CRC
// check CRC
if (current_crc_value & 0001h)
{
}
else
{
}
printf ("Checked CRC is ok (0x%04X)\n",
printf ("Checked CRC is NOT ok (0x%04X)\n",
current_crc_value = (current_crc_value >> 1) ^
current_crc_value = (current_crc_value >> 1);
LRI2K