Herunterladen Diese Seite drucken

Hitachi ABB RVT Installation Und Betriebsanleitung Seite 560

Werbung

Verfügbare Sprachen
  • DE

Verfügbare Sprachen

  • DEUTSCH, seite 161
*/
word crc(byte *buf,word start,word cnt)
{
word
i,j;
word
temp,temp2,flag;
temp=0xFFFF;
for (i=start; i<cnt; i++)
{
temp=temp ^ buf[i];
for (j=1; j<=8; j++)
{
}
}
/* Reverse byte order. */
temp2=temp >> 8;
temp=(temp << 8) | temp2;
temp &= 0xFFFF;
return(temp);
}
STATUS
Approved
flag=temp & 0x0001;
temp=temp >> 1;
if (flag) temp=temp ^ 0xA001;
SECURITY LEVEL
Public
DOCUMENT ID
9AKK106713A9758
RVT CO MM UNI CATI O N
REV.
LANG.
PAGE
K
en
18/71
© 2022 Hitachi Energy. All rights reserved.

Werbung

loading