Lines Matching refs:data
107 SDO_C->CANrxData[0] = msg->data[0]; in CO_SDOclient_receive()
108 SDO_C->CANrxData[1] = msg->data[1]; in CO_SDOclient_receive()
109 SDO_C->CANrxData[2] = msg->data[2]; in CO_SDOclient_receive()
110 SDO_C->CANrxData[3] = msg->data[3]; in CO_SDOclient_receive()
111 SDO_C->CANrxData[4] = msg->data[4]; in CO_SDOclient_receive()
112 SDO_C->CANrxData[5] = msg->data[5]; in CO_SDOclient_receive()
113 SDO_C->CANrxData[6] = msg->data[6]; in CO_SDOclient_receive()
114 SDO_C->CANrxData[7] = msg->data[7]; in CO_SDOclient_receive()
122 SDO_C->CANrxData[0] = msg->data[0]; in CO_SDOclient_receive()
136 SDO_C->buffer[SDO_C->dataSizeTransfered++] = msg->data[i]; in CO_SDOclient_receive()
297 SDO_C->CANtxBuff->data[0] = 0x80; in CO_SDOclient_abort()
298 SDO_C->CANtxBuff->data[1] = SDO_C->index & 0xFF; in CO_SDOclient_abort()
299 SDO_C->CANtxBuff->data[2] = (SDO_C->index>>8) & 0xFF; in CO_SDOclient_abort()
300 SDO_C->CANtxBuff->data[3] = SDO_C->subIndex; in CO_SDOclient_abort()
301 CO_memcpySwap4(&SDO_C->CANtxBuff->data[4], &code); in CO_SDOclient_abort()
313 SDO_C->CANtxBuff->data[i] = 0; in CO_SDOTxBufferClear()
349 SDO_C->CANtxBuff->data[1] = index & 0xFF; in CO_SDOclientDownloadInitiate()
350 SDO_C->CANtxBuff->data[2] = index >> 8; in CO_SDOclientDownloadInitiate()
351 SDO_C->CANtxBuff->data[3] = subIndex; in CO_SDOclientDownloadInitiate()
367 SDO_C->CANtxBuff->data[0] = 0x23 | ((4-dataSize) << 2); in CO_SDOclientDownloadInitiate()
370 for(i=dataSize+3; i>=4; i--) SDO_C->CANtxBuff->data[i] = dataTx[i-4]; in CO_SDOclientDownloadInitiate()
377 SDO_C->CANtxBuff->data[0] = CCS_DOWNLOAD_BLOCK<<5; in CO_SDOclientDownloadInitiate()
379 SDO_C->CANtxBuff->data[0] |= 0x01<<2; in CO_SDOclientDownloadInitiate()
382 SDO_C->CANtxBuff->data[0] |= 0x01<<1; in CO_SDOclientDownloadInitiate()
384 SDO_C->CANtxBuff->data[4] = (uint8_t) dataSize; in CO_SDOclientDownloadInitiate()
385 SDO_C->CANtxBuff->data[5] = (uint8_t) (dataSize >> 8); in CO_SDOclientDownloadInitiate()
386 SDO_C->CANtxBuff->data[6] = (uint8_t) (dataSize >> 16); in CO_SDOclientDownloadInitiate()
387 SDO_C->CANtxBuff->data[7] = (uint8_t) (dataSize >> 24); in CO_SDOclientDownloadInitiate()
393 SDO_C->CANtxBuff->data[0] = 0x21; in CO_SDOclientDownloadInitiate()
395 CO_memcpySwap4(&SDO_C->CANtxBuff->data[4], &len); in CO_SDOclientDownloadInitiate()
441 SDO_C->SDO->ODF_arg.data = SDO_C->buffer; in CO_SDOclientDownload()
646 SDO_C->CANtxBuff->data[i+1] = SDO_C->buffer[SDO_C->bufferOffset + i]; in CO_SDOclientDownload()
649 SDO_C->CANtxBuff->data[i+1] = 0; in CO_SDOclientDownload()
653 SDO_C->CANtxBuff->data[0] = CCS_DOWNLOAD_SEGMENT | ((SDO_C->toggle)<<4) | ((7-j)<<1); in CO_SDOclientDownload()
656 SDO_C->CANtxBuff->data[0] |= 1; in CO_SDOclientDownload()
667 SDO_C->CANtxBuff->data[0] = SDO_C->block_seqno; in CO_SDOclientDownload()
678 SDO_C->CANtxBuff->data[i] = *(SDO_C->buffer + SDO_C->bufferOffset); in CO_SDOclientDownload()
681 SDO_C->CANtxBuff->data[i] = 0; in CO_SDOclientDownload()
689 SDO_C->CANtxBuff->data[0] |= 0x80; in CO_SDOclientDownload()
702 SDO_C->CANtxBuff->data[0] = (CCS_DOWNLOAD_BLOCK<<5) | (SDO_C->block_noData << 2) | 0x01; in CO_SDOclientDownload()
708 SDO_C->CANtxBuff->data[1] = (uint8_t) tmp16; in CO_SDOclientDownload()
709 SDO_C->CANtxBuff->data[2] = (uint8_t) (tmp16>>8); in CO_SDOclientDownload()
761 SDO_C->CANtxBuff->data[1] = index & 0xFF; in CO_SDOclientUploadInitiate()
762 SDO_C->CANtxBuff->data[2] = index >> 8; in CO_SDOclientUploadInitiate()
763 SDO_C->CANtxBuff->data[3] = subIndex; in CO_SDOclientUploadInitiate()
768 SDO_C->CANtxBuff->data[0] = (CCS_UPLOAD_INITIATE<<5); in CO_SDOclientUploadInitiate()
774 SDO_C->CANtxBuff->data[0] = (CCS_UPLOAD_BLOCK<<5); in CO_SDOclientUploadInitiate()
777 SDO_C->CANtxBuff->data[0] |= 0x04; in CO_SDOclientUploadInitiate()
785 SDO_C->CANtxBuff->data[4] = SDO_C->block_blksize; in CO_SDOclientUploadInitiate()
786 SDO_C->CANtxBuff->data[5] = SDO_C->pst; in CO_SDOclientUploadInitiate()
851 SDO_C->SDO->ODF_arg.data = SDO_C->buffer; in CO_SDOclientUpload()
1139 SDO_C->CANtxBuff->data[0] = (CCS_UPLOAD_SEGMENT<<5) | (SDO_C->toggle & 0x10); in CO_SDOclientUpload()
1154 SDO_C->CANtxBuff->data[0] = (CCS_UPLOAD_BLOCK<<5) | 0x03; in CO_SDOclientUpload()
1162 SDO_C->CANtxBuff->data[0] = (CCS_UPLOAD_BLOCK<<5) | 0x02; in CO_SDOclientUpload()
1163 SDO_C->CANtxBuff->data[1] = SDO_C->block_seqno; in CO_SDOclientUpload()
1170 SDO_C->CANtxBuff->data[2] = SDO_C->block_blksize; in CO_SDOclientUpload()
1178 SDO_C->CANtxBuff->data[0] = (CCS_UPLOAD_BLOCK<<5) | 0x02; in CO_SDOclientUpload()
1179 SDO_C->CANtxBuff->data[1] = SDO_C->block_seqno; in CO_SDOclientUpload()
1209 SDO_C->CANtxBuff->data[2] = SDO_C->block_blksize; in CO_SDOclientUpload()
1216 SDO_C->CANtxBuff->data[0] = (CCS_UPLOAD_BLOCK<<5) | 0x01; in CO_SDOclientUpload()