CD Automation RevoE-3PH Manuel D'utilisation page 64

Table des Matières

Publicité

CD Automation srl
C Language CRC 16 Example
static short CRC16 (unsigned char *p_first,unsigned char *p_last)
{
unsigned int crc=0xffff;
short j;
for (;p_first<=p_last;p_first++)
{
crc ^= *p_first;
for(j=8;j>0;j--)
{
if(crc & 0x0001)
else
}
}
return (crc);
}
REVO E-3PH
{
crc = crc >> 1;
crc ^= 0xA001;
}
{
crc = crc >> 1;
}
Manuel d'utilisation de 25A à 500A
64

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Cd3000e sérieCd3000e-3ph

Table des Matières