
Programmable Configuration Data
MVME7100ET Single Board Computer Programmer’s Reference (6806800K88B)
73
unsigned char *pVpdBuffer;
unsigned int vpdSromSize;
{
unsigned int crcValue;
unsigned int crcValueFlipped;
unsigned char dataByte;
unsigned int index, dataBitValue, msbDataBitValue;
crcValue = 0xffffffff;
for (index = 0; index < vpdSromSize; index++)
{
dataByte = *pVp+;
for (dataBitValue = 0; dataBitValue < 8; dataB+)
{
msbDataBitValue = (crcValue >> 31) & 1;
crcValue <<= 1;
if (msbDataBitValue ^ (dataByte & 1))
{
crcValue ^= 0x04c11db6;
crcValue |= 1;
}
dataByte >>= 1;
}
}
crcValueFlipped = 0;
Содержание MVME7100ET
Страница 1: ...MVME7100ET Single Board Computer Programmer s Reference P N 6806800K88B June 2014 ...
Страница 6: ...MVME7100ET Single Board Computer Programmer s Reference 6806800K88B Contents 6 Contents Contents ...
Страница 10: ...MVME7100ET Single Board Computer Programmer s Reference 6806800K88B 10 List of Figures ...
Страница 14: ...MVME7100ET Single Board Computer Programmer s Reference 6806800K88B About this Manual 14 About this Manual ...
Страница 24: ...Memory Maps MVME7100ET Single Board Computer Programmer s Reference 6806800K88B 24 ...
Страница 50: ...Register Descriptions MVME7100ET Single Board Computer Programmer s Reference 6806800K88B 50 ...
Страница 96: ...Related Documentation MVME7100ET Single Board Computer Programmer s Reference 6806800K88B 96 ...
Страница 97: ......