Home
last modified time | relevance | path

Searched refs:crc (Results 1 – 4 of 4) sorted by relevance

/canopennode-2.7.6/stack/
Dcrc16-ccitt.c88 unsigned short crc) in crc16_ccitt()
93 unsigned short tmp = (crc >> 8) ^ (unsigned short) block[i]; in crc16_ccitt()
94 crc = ((unsigned short)(crc << 8U)) ^ crc16_ccitt_table[tmp]; in crc16_ccitt()
96 return crc; in crc16_ccitt()
DCO_SDO.c1092 SDO->crc = 0; in CO_SDO_process()
1140 SDO->crc = crc16_ccitt(SDO->ODF_arg.data, SDO->bufferOffset, SDO->crc); in CO_SDO_process()
1191 uint16_t crc; in CO_SDO_process() local
1192 SDO->crc = crc16_ccitt(SDO->ODF_arg.data, SDO->bufferOffset, SDO->crc); in CO_SDO_process()
1194 CO_memcpySwap2(&crc, &CANrxData[1]); in CO_SDO_process()
1196 if(SDO->crc != crc){ in CO_SDO_process()
1330 SDO->crc = crc16_ccitt(SDO->ODF_arg.data, SDO->ODF_arg.dataLength, 0); in CO_SDO_process()
1334 SDO->crc = 0; in CO_SDO_process()
1413 CO_memcpySwap2(&SDO->CANtxBuff->data[1], &SDO->crc); in CO_SDO_process()
1448 … SDO->crc = crc16_ccitt(SDO->ODF_arg.data, SDO->ODF_arg.dataLength, SDO->crc); in CO_SDO_process()
Dcrc16-ccitt.h64 unsigned short crc);
DCO_SDO.h636 uint16_t crc; member