Home
last modified time | relevance | path

Searched refs:index (Results 1 – 19 of 19) sorted by relevance

/canopennode-2.7.6/stack/drvTemplate/
DCO_driver.c131 uint16_t index, in CO_CANrxBufferInit() argument
140 if((CANmodule!=NULL) && (object!=NULL) && (pFunct!=NULL) && (index < CANmodule->rxSize)){ in CO_CANrxBufferInit()
142 CO_CANrx_t *buffer = &CANmodule->rxArray[index]; in CO_CANrxBufferInit()
171 uint16_t index, in CO_CANtxBufferInit() argument
179 if((CANmodule != NULL) && (index < CANmodule->txSize)){ in CO_CANtxBufferInit()
181 buffer = &CANmodule->txArray[index]; in CO_CANtxBufferInit()
328 uint16_t index; /* index of received message */ in CO_CANinterrupt() local
338 index = 0; /* get index of the received message here. Or something similar */ in CO_CANinterrupt()
339 if(index < CANmodule->rxSize){ in CO_CANinterrupt()
340 buffer = &CANmodule->rxArray[index]; in CO_CANinterrupt()
[all …]
/canopennode-2.7.6/stack/
DCO_LSS.h159 #define CO_LSS_FASTSCAN_LSS_SUB_NEXT_VALID(index) (index>=CO_LSS_FASTSCAN_VENDOR_ID && index<=CO_LS… argument
225 #define CO_LSS_BIT_TIMING_VALID(index) (index != 5 && (index >= CO_LSS_BIT_TIMING_1000 && index <= … argument
DCO_Emergency.c338 uint8_t index = errorBit >> 3; in CO_errorReport() local
346 else if(index >= em->errorStatusBitsSize){ in CO_errorReport()
352 errorStatusBits = &em->errorStatusBits[index]; in CO_errorReport()
399 uint8_t index = errorBit >> 3; in CO_errorReset() local
407 else if(index >= em->errorStatusBitsSize){ in CO_errorReset()
413 errorStatusBits = &em->errorStatusBits[index]; in CO_errorReset()
458 uint8_t index = errorBit >> 3; in CO_isError() local
462 if(em != NULL && index < em->errorStatusBitsSize){ in CO_isError()
463 if((em->errorStatusBits[index] & bitmask) != 0){ in CO_isError()
DCO_PDO.c199 uint16_t index; in CO_PDOfindMap() local
205 index = (uint16_t)(map>>16); in CO_PDOfindMap()
219 if(index <=7 && subIndex == 0){ in CO_PDOfindMap()
224 if(index<2) dummySize = 0; in CO_PDOfindMap()
225 else if(index==2 || index==5) dummySize = 1; in CO_PDOfindMap()
226 else if(index==3 || index==6) dummySize = 2; in CO_PDOfindMap()
239 entryNo = CO_OD_find(SDO, index); in CO_PDOfindMap()
862 uint16_t index = (uint16_t)(map>>16); in CO_TPDOsend() local
864 uint16_t entryNo = CO_OD_find(pSDO, index); in CO_TPDOsend()
871 ODF_arg.index = index; in CO_TPDOsend()
[all …]
DCO_SDO.c394 uint16_t index, in CO_OD_configure() argument
402 entryNo = CO_OD_find(SDO, index); in CO_OD_configure()
424 uint16_t CO_OD_find(CO_SDO_t *SDO, uint16_t index){ in CO_OD_find() argument
436 if(index == object->index){ in CO_OD_find()
439 if(index < object->index){ in CO_OD_find()
450 if(index == object->index){ in CO_OD_find()
515 if(object->index == 0x1003 && subIndex == 0) { in CO_OD_getAttribute()
582 uint32_t CO_SDO_initTransfer(CO_SDO_t *SDO, uint16_t index, uint8_t subIndex){ in CO_SDO_initTransfer() argument
584 SDO->ODF_arg.index = index; in CO_SDO_initTransfer()
588 SDO->entryNo = CO_OD_find(SDO, index); in CO_SDO_initTransfer()
[all …]
DCO_SDOmaster.c298 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()
327 uint16_t index, in CO_SDOclientDownloadInitiate() argument
347 SDO_C->index = index; in CO_SDOclientDownloadInitiate()
349 SDO_C->CANtxBuff->data[1] = index & 0xFF; in CO_SDOclientDownloadInitiate()
350 SDO_C->CANtxBuff->data[2] = index >> 8; in CO_SDOclientDownloadInitiate()
435 *pSDOabortCode = CO_SDO_initTransfer(SDO_C->SDO, SDO_C->index, SDO_C->subIndex); in CO_SDOclientDownload()
527 if(IndexTmp != SDO_C->index || SDO_C->CANrxData[3] != SDO_C->subIndex) { in CO_SDOclientDownload()
740 uint16_t index, in CO_SDOclientUploadInitiate() argument
758 SDO_C->index = index; in CO_SDOclientUploadInitiate()
[all …]
DCO_SDO.h489 uint16_t index; member
559 uint16_t index; member
859 uint16_t index,
874 uint16_t CO_OD_find(CO_SDO_t *SDO, uint16_t index);
944 uint32_t CO_SDO_initTransfer(CO_SDO_t *SDO, uint16_t index, uint8_t subIndex);
DCO_SDOmaster.h120 uint16_t index; member
255 uint16_t index,
305 uint16_t index,
DCO_trace.c94 uint16_t index; in findVariable() local
101 index = (uint16_t) ((*trace->map) >> 16); in findVariable()
113 if(!err && (index != 0 || subIndex != 0)) { in findVariable()
114 uint16_t entryNo = CO_OD_find(trace->SDO, index); in findVariable()
116 … if(index >= 0x1000 && entryNo != 0xFFFF && subIndex <= trace->SDO->OD[entryNo].maxSubIndex) { in findVariable()
/canopennode-2.7.6/stack/neuberger-socketCAN/
DCO_driver.c70 uint32_t index, in CO_CANsetIdentToIndex() argument
87 if (index == 0) { in CO_CANsetIdentToIndex()
92 lookup[identNew] = index; in CO_CANsetIdentToIndex()
485 uint16_t index, in CO_CANrxBufferInit() argument
494 if((CANmodule!=NULL) && (index < CANmodule->rxSize)){ in CO_CANrxBufferInit()
502 if (i!=index && ident>0 && ident==buffer->ident) { in CO_CANrxBufferInit()
510 buffer = &CANmodule->rxArray[index]; in CO_CANrxBufferInit()
513 CO_CANsetIdentToIndex(CANmodule->rxIdentToIndex, index, ident, in CO_CANrxBufferInit()
534 CANmodule->rxFilter[index].can_id = buffer->ident; in CO_CANrxBufferInit()
535 CANmodule->rxFilter[index].can_mask = buffer->mask; in CO_CANrxBufferInit()
[all …]
DCO_driver_target.h201 uint16_t index,
/canopennode-2.7.6/stack/dsPIC30F/
DCO_driver.c230 uint16_t index, in CO_CANrxBufferInit() argument
239 if((CANmodule!=NULL) && (object!=NULL) && (pFunct!=NULL) && (index < CANmodule->rxSize)){ in CO_CANrxBufferInit()
241 CO_CANrx_t *buffer = &CANmodule->rxArray[index]; in CO_CANrxBufferInit()
274 uint16_t index, in CO_CANtxBufferInit() argument
282 if((CANmodule != NULL) && (index < CANmodule->txSize)){ in CO_CANtxBufferInit()
284 buffer = &CANmodule->txArray[index]; in CO_CANtxBufferInit()
435 uint16_t index; /* index of received message */ in CO_CANinterrupt() local
445 for(index = CANmodule->rxSize; index > 0U; index--){ in CO_CANinterrupt()
469 uint16_t index; /* index of received message */ in CO_CANinterrupt() local
479 for(index = CANmodule->rxSize; index > 0U; index--){ in CO_CANinterrupt()
/canopennode-2.7.6/stack/PIC32/
DCO_driver.c236 uint16_t index, in CO_CANrxBufferInit() argument
245 if((CANmodule!=NULL) && (object!=NULL) && (pFunct!=NULL) && (index < CANmodule->rxSize)){ in CO_CANrxBufferInit()
247 CO_CANrx_t *buffer = &CANmodule->rxArray[index]; in CO_CANrxBufferInit()
271 pFLTCON += (index/4) * 0x10; /* now points to the correct C_FLTCONi */ in CO_CANrxBufferInit()
272 pFLTCON += index%4; /* now points to correct part of the correct C_FLTCONi */ in CO_CANrxBufferInit()
283 pRXF += index * (0x10/4); /* now points to C_RXFi (i == index) */ in CO_CANrxBufferInit()
330 uint16_t index, in CO_CANtxBufferInit() argument
338 if((CANmodule != NULL) && (index < CANmodule->txSize)){ in CO_CANtxBufferInit()
340 buffer = &CANmodule->txArray[index]; in CO_CANtxBufferInit()
506 uint16_t index; /* index of received message */ in CO_CANinterrupt() local
[all …]
/canopennode-2.7.6/stack/PIC24_dsPIC33/
DCO_driver.c372 uint16_t index, in CO_CANrxBufferInit() argument
381 if((CANmodule!=NULL) && (object!=NULL) && (pFunct!=NULL) && (index < CANmodule->rxSize)){ in CO_CANrxBufferInit()
383 CO_CANrx_t *buffer = &CANmodule->rxArray[index]; in CO_CANrxBufferInit()
419 pRXF += index * 2; /* now points to C_RXFiSID (i == index) */ in CO_CANrxBufferInit()
447 if(index<8){ in CO_CANrxBufferInit()
448 uint16_t clearMask = ~(0x0003 << (index << 1)); in CO_CANrxBufferInit()
449 selectMask = selectMask << (index << 1); in CO_CANrxBufferInit()
454 uint16_t clearMask = ~(0x0003 << ((index-8) << 1)); in CO_CANrxBufferInit()
455 selectMask = selectMask << ((index-8) << 1); in CO_CANrxBufferInit()
475 uint16_t index, in CO_CANtxBufferInit() argument
[all …]
/canopennode-2.7.6/stack/socketCAN/
DCO_driver.c232 uint16_t index, in CO_CANrxBufferInit() argument
242 (CANmodule->filter!=NULL) && (index < CANmodule->rxSize)){ in CO_CANrxBufferInit()
244 CO_CANrx_t *buffer = &CANmodule->rxArray[index]; in CO_CANrxBufferInit()
259 CANmodule->filter[index].can_id = buffer->ident; in CO_CANrxBufferInit()
260 CANmodule->filter[index].can_mask = buffer->mask; in CO_CANrxBufferInit()
277 uint16_t index, in CO_CANtxBufferInit() argument
285 if((CANmodule != NULL) && (index < CANmodule->txSize)){ in CO_CANtxBufferInit()
287 buffer = &CANmodule->txArray[index]; in CO_CANtxBufferInit()
/canopennode-2.7.6/example/
DIO.eds288 ParameterName=max sub-index
309 ParameterName=max sub-index
346 ParameterName=max sub-index
399 ParameterName=max sub-index
452 ParameterName=max sub-index
513 ParameterName=max sub-index
542 ParameterName=max sub-index
571 ParameterName=max sub-index
600 ParameterName=max sub-index
629 ParameterName=max sub-index
[all …]
/canopennode-2.7.6/
DCO_driver.h202 uint16_t index,
230 uint16_t index,
DDoxyfile889 # (index.html). This can be useful if you have a project on for instance GitHub
1000 # Configuration options related to the alphabetical class index
1003 # If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all
1011 # which the alphabetical index list will be split.
1018 # be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
1020 # while generating the index headers.
1173 # If the GENERATE_DOCSET tag is set to YES, additional index files will be
1218 # additional HTML index files: index.hhp, index.hhc, and index.hhk. The
1219 # index.hhp is a project file that can be read by Microsoft's HTML Help Workshop
1227 # HTML files also contain an index, a table of contents, and you can search for
[all …]
DREADME.md67 Just open CANopenNode/doc/html/index.html in browser.