AN1350 STMicroelectronics, AN1350 Datasheet - Page 7

no-image

AN1350

Manufacturer Part Number
AN1350
Description
STE10-100A EEPROM ACCESS AND PROGRAMMING
Manufacturer
STMicroelectronics
Datasheet
AN1350 APPLICATION NOTE
}
5.0 Sample Contents of EEPROM
Following is the sample template of the contents of the EEPROM:
74 27 02 00 00 00 00 00 00 00 00 00 00 00 00 00 FF 00 00 04 00 00 00 00 00 00 00 00 00
00 00 01 74 27 4A 10 16 12 13 11 FF FF 00 00 00 00 0C 80 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00
7/8
{
}
for (i = 0; i < 32; i++)
{
}
crc = FlippedCRC ^ 0xFFFFFFFF;
return (crc & 0xFFFF);
for (Index = 0; Index < DATA_LEN; Index++)
FlippedCRC <<= 1;
Bit = crc & 1;
crc >>= 1;
FlippedCRC += Bit;
CurrentByte = EEPromData[Index];
for (Bit = 0; Bit < 8; Bit++)
{
}
Msb = (crc >> 31) & 1;
crc <<= 1;
if (Msb ^ (CurrentByte & 1))
{
}
CurrentByte >>= 1;
crc ^= POLY;
crc |= 0x00000001;

Related parts for AN1350