数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

TNETX3150 数据表(PDF) 52 Page - Texas Instruments

部件名 TNETX3150
功能描述  ADDRESS-LOOKUP DEVICE
PDF  78 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  TI [Texas Instruments]
网页  http://www.ti.com
标志 TI - Texas Instruments

TNETX3150 数据表(HTML) 52 Page - Texas Instruments

Back Button TNETX3150 Datasheet HTML 48Page - Texas Instruments TNETX3150 Datasheet HTML 49Page - Texas Instruments TNETX3150 Datasheet HTML 50Page - Texas Instruments TNETX3150 Datasheet HTML 51Page - Texas Instruments TNETX3150 Datasheet HTML 52Page - Texas Instruments TNETX3150 Datasheet HTML 53Page - Texas Instruments TNETX3150 Datasheet HTML 54Page - Texas Instruments TNETX3150 Datasheet HTML 55Page - Texas Instruments TNETX3150 Datasheet HTML 56Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 52 / 78 page
background image
TNETX15AE
ADDRESS-LOOKUP DEVICE
SPWS041A – AUGUST 1997 – REVISED OCTOBER 1997
52
POST OFFICE BOX 655303
DALLAS, TEXAS 75265
PRINCIPLES OF OPERATION
EEPROM initialization/automatic loading (LOAD) (continued)
The last four bytes read by the automatic loader correspond to a 32-bit CRC value for the information stored
in the EEPROM. The CRC value is calculated by using the following callable C routine, which assumes that the
data to be examined is loaded into an array eeprom_data [ ]:
void ifexeeprom (char *cs)
{
long crc;
int k;
crc = 0xffffffffl;
for (k=0;k<=38;k++)
{
crcbyt (eeprom_data[k], &crc);
}
crc ^= 0xffffffffl;
eeprom_data[k++]=(int) ((crc >> 24) & 0x0ffl);
eeprom_data[k++]=(int) ((crc >> 16) & 0x0ffl);
eeprom_data[k++]=(int) ((crc >>
8) & 0x0ffl);
eeprom_data[k++]=(int) ((crc
) & 0x0ffl);
}
crcbyt (dat,crc)
int dat;
long *crc;
{
int i;
for (i=0;i<8;i++)
{
crcbit(dat>>7,crc);
dat = dat <<1;
}
}
crcbit (dat,crc)
int dat;
long *crc;
{
if ( (((*crc>>31) & 11)^((long)dat & 11)) ==1)
{
*crc ^= 0x02608edbl;
*crc = *crc <<1;
*crc |= 0x00000001l;
}
else
{
*crc = *crc <<1;
*crc &= 0xfffffffel;
}
}
In this example, the values for which the CRC is calculated are placed in the eeprom_data[] array from offset
0 to 38 (0x26). The routine crcbyt is called for each byte. The C routine then places the calculated CRC values
in the eeprom_data[] array at locations 39 to 42 (0x27 to 0x2A).



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com