Searched refs:crc (Results 1 – 4 of 4) sorted by relevance
/canopennode-2.7.6/stack/ |
D | crc16-ccitt.c | 88 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()
|
D | CO_SDO.c | 1092 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()
|
D | crc16-ccitt.h | 64 unsigned short crc);
|
D | CO_SDO.h | 636 uint16_t crc; member
|