/canopennode-3.5.0-3.4.0/stack/ |
D | CO_SDO.c | 163 static void CO_SDO_receive_done(CO_SDO_t *SDO){ in CO_SDO_receive_done() argument 165 uint8_t rcv = SDO->CANrxRcv; in CO_SDO_receive_done() 170 SDO->CANrxRcv = newRcv; in CO_SDO_receive_done() 171 SET_CANrxNew(SDO->CANrxNew[rcv]); in CO_SDO_receive_done() 173 SET_CANrxNew(SDO->CANrxNew[0]); in CO_SDO_receive_done() 186 CO_SDO_t *SDO; in CO_SDO_receive() local 189 SDO = (CO_SDO_t*)object; /* this is the correct pointer type of the first argument */ in CO_SDO_receive() 190 rcv = SDO->CANrxRcv; in CO_SDO_receive() 191 CANrxData = SDO->CANrxData[rcv]; in CO_SDO_receive() 194 if((msg->DLC == 8U) && (!IS_CANrxNew(SDO->CANrxNew[rcv]))){ in CO_SDO_receive() [all …]
|
D | CO_SDO.h | 785 CO_SDO_t *SDO, 811 CO_SDO_t *SDO, 832 CO_SDO_t *SDO, 858 CO_SDO_t *SDO, 874 uint16_t CO_OD_find(CO_SDO_t *SDO, uint16_t index); 886 uint16_t CO_OD_getLength(CO_SDO_t *SDO, uint16_t entryNo, uint8_t subIndex); 902 uint16_t CO_OD_getAttribute(CO_SDO_t *SDO, uint16_t entryNo, uint8_t subIndex); 917 void* CO_OD_getDataPointer(CO_SDO_t *SDO, uint16_t entryNo, uint8_t subIndex); 930 uint8_t* CO_OD_getFlagsPointer(CO_SDO_t *SDO, uint16_t entryNo, uint8_t subIndex); 944 uint32_t CO_SDO_initTransfer(CO_SDO_t *SDO, uint16_t index, uint8_t subIndex); [all …]
|
D | CO_PDO.c | 190 CO_SDO_t *SDO, in CO_PDOfindMap() argument 239 entryNo = CO_OD_find(SDO, index); in CO_PDOfindMap() 242 if(entryNo == 0xFFFF || subIndex > SDO->OD[entryNo].maxSubIndex) in CO_PDOfindMap() 245 attr = CO_OD_getAttribute(SDO, entryNo, subIndex); in CO_PDOfindMap() 252 objectLen = CO_OD_getLength(SDO, entryNo, subIndex); in CO_PDOfindMap() 259 *ppData = (uint8_t*) CO_OD_getDataPointer(SDO, entryNo, subIndex); in CO_PDOfindMap() 308 RPDO->SDO, in CO_RPDOconfigMap() 375 TPDO->SDO, in CO_TPDOconfigMap() 634 RPDO->SDO, in CO_ODF_RPDOmap() 700 TPDO->SDO, in CO_ODF_TPDOmap() [all …]
|
D | CO_SDOmaster.c | 172 CO_SDO_t *SDO, in CO_SDOclient_init() argument 180 if(SDO_C==NULL || SDO==NULL || SDOClientPar==NULL || SDOClientPar->maxSubIndex!=3 || in CO_SDOclient_init() 192 SDO_C->SDO = SDO; in CO_SDOclient_init() 354 if(SDO_C->SDOClientPar->nodeIDOfTheSDOServer == SDO_C->SDO->nodeId){ in CO_SDOclientDownloadInitiate() 425 if(SDO_C->SDO && SDO_C->SDOClientPar->nodeIDOfTheSDOServer == SDO_C->SDO->nodeId){ in CO_SDOclientDownload() 430 if(SDO_C->SDO->state != 0){ in CO_SDOclientDownload() 435 *pSDOabortCode = CO_SDO_initTransfer(SDO_C->SDO, SDO_C->index, SDO_C->subIndex); in CO_SDOclientDownload() 441 SDO_C->SDO->ODF_arg.data = SDO_C->buffer; in CO_SDOclientDownload() 444 *pSDOabortCode = CO_SDO_writeOD(SDO_C->SDO, SDO_C->bufferSize); in CO_SDOclientDownload() 793 if(SDO_C->SDOClientPar->nodeIDOfTheSDOServer == SDO_C->SDO->nodeId){ in CO_SDOclientUploadInitiate() [all …]
|
D | CO_PDO.h | 167 CO_SDO_t *SDO; /**< From CO_RPDO_init() */ member 197 CO_SDO_t *SDO; /**< From CO_TPDO_init() */ member 261 CO_SDO_t *SDO, 307 CO_SDO_t *SDO,
|
D | CO_trace.c | 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() 117 OdDataPtr = CO_OD_getDataPointer(trace->SDO, entryNo, subIndex); in findVariable() 121 uint16_t len = CO_OD_getLength(trace->SDO, entryNo, subIndex); in findVariable() 392 CO_SDO_t *SDO, in CO_trace_init() argument 408 trace->SDO = SDO; in CO_trace_init() 441 CO_OD_configure(SDO, idx_OD_traceConfig, CO_ODF_traceConfig, (void*)trace, 0, 0); in CO_trace_init() 442 CO_OD_configure(SDO, idx_OD_trace, CO_ODF_trace, (void*)trace, 0, 0); in CO_trace_init()
|
D | CO_SYNC.c | 223 CO_SDO_t *SDO, in CO_SYNC_init() argument 236 if(SYNC==NULL || em==NULL || SDO==NULL || operatingState==NULL || in CO_SYNC_init() 268 CO_OD_configure(SDO, OD_H1005_COBID_SYNC, CO_ODF_1005, (void*)SYNC, 0, 0); in CO_SYNC_init() 269 CO_OD_configure(SDO, OD_H1006_COMM_CYCL_PERIOD, CO_ODF_1006, (void*)SYNC, 0, 0); in CO_SYNC_init() 270 CO_OD_configure(SDO, OD_H1019_SYNC_CNT_OVERFLOW, CO_ODF_1019, (void*)SYNC, 0, 0); in CO_SYNC_init()
|
D | CO_Emergency.c | 132 CO_SDO_t *SDO, in CO_EM_init() argument 147 if(em==NULL || emPr==NULL || SDO==NULL || errorStatusBits==NULL || errorStatusBitsSize<6U || in CO_EM_init() 175 CO_OD_configure(SDO, OD_H1003_PREDEF_ERR_FIELD, CO_ODF_1003, (void*)emPr, 0, 0U); in CO_EM_init() 176 CO_OD_configure(SDO, OD_H1014_COBID_EMERGENCY, CO_ODF_1014, (void*)&SDO->nodeId, 0, 0U); in CO_EM_init()
|
D | CO_trace.h | 90 CO_SDO_t *SDO; /**< From CO_trace_init(). */ member 137 CO_SDO_t *SDO,
|
D | CO_SDOmaster.h | 99 CO_SDO_t *SDO; member 183 CO_SDO_t *SDO,
|
D | CO_TIME.c | 55 CO_SDO_t *SDO, in CO_TIME_init() argument 65 if(TIME==NULL || em==NULL || SDO==NULL || operatingState==NULL || in CO_TIME_init()
|
D | CO_HBconsumer.c | 133 CO_SDO_t *SDO, in CO_HBconsumer_init() argument 143 if(HBcons==NULL || em==NULL || SDO==NULL || HBconsTime==NULL || in CO_HBconsumer_init() 164 CO_OD_configure(SDO, OD_H1016_CONSUMER_HB_TIME, CO_ODF_1016, (void*)HBcons, 0, 0); in CO_HBconsumer_init()
|
D | CO_TIME.h | 129 CO_SDO_t *SDO,
|
D | CO_SYNC.h | 129 CO_SDO_t *SDO,
|
D | CO_HBconsumer.h | 127 CO_SDO_t *SDO,
|
D | CO_Emergency.h | 376 CO_SDO_t *SDO,
|
/canopennode-3.5.0-3.4.0/ |
D | CANopen.c | 293 CO->SDO[i] = &COO_SDO[i]; in CO_new() 336 CO->SDO[i] = (CO_SDO_t *) calloc(1, sizeof(CO_SDO_t)); in CO_new() 421 if(CO->SDO[i] == NULL) errCnt++; in CO_new() 543 CO->SDO[i], in CO_CANopenInit() 547 i==0 ? 0 : CO->SDO[0], in CO_CANopenInit() 564 CO->SDO[0], in CO_CANopenInit() 622 CO->SDO[0], in CO_CANopenInit() 639 CO->SDO[0], in CO_CANopenInit() 658 CO->SDO[0], in CO_CANopenInit() 678 CO->SDO[0], in CO_CANopenInit() [all …]
|
D | README.md | 28 - SDO expedited, segmented and block transfer for service access to all parameters. 29 - SDO master. 109 | messages and copy | | - Network synchronized| | - SDO server, | 120 | SDO client (optional) | 158 - **CO_SDO.h/.c** - CANopen SDO server object. It serves data from Object dictionary. 160 - **CO_SDOmaster.h/.c** - CANopen SDO client object (master functionality).
|
D | CANopen.h | 123 CO_SDO_t *SDO[CO_NO_SDO_SERVER]; /**< SDO object */ member
|
/canopennode-3.5.0-3.4.0/stack/drvTemplate/ |
D | eeprom.c | 142 CO_SDO_t *SDO, in CO_EE_init_2() argument 145 CO_OD_configure(SDO, OD_H1010_STORE_PARAM_FUNC, CO_ODF_1010, (void*)ee, 0, 0U); in CO_EE_init_2() 146 CO_OD_configure(SDO, OD_H1011_REST_PARAM_FUNC, CO_ODF_1011, (void*)ee, 0, 0U); in CO_EE_init_2()
|
D | eeprom.h | 89 CO_SDO_t *SDO,
|
/canopennode-3.5.0-3.4.0/stack/PIC32/ |
D | eeprom.h | 92 CO_SDO_t *SDO,
|
D | eeprom.c | 242 CO_SDO_t *SDO, in CO_EE_init_2() argument 245 CO_OD_configure(SDO, OD_H1010_STORE_PARAM_FUNC, CO_ODF_1010, (void*)ee, 0, 0U); in CO_EE_init_2() 246 CO_OD_configure(SDO, OD_H1011_REST_PARAM_FUNC, CO_ODF_1011, (void*)ee, 0, 0U); in CO_EE_init_2()
|
D | main_PIC32.c | 163 CO_EE_init_2(&CO_EEO, eeStatus, CO->SDO[0], CO->em); in main()
|
/canopennode-3.5.0-3.4.0/stack/neuberger-socketCAN/ |
D | CO_Linux_threads.c | 70 CO_SDO_initCallback(CO->SDO[0], threadMain_resumeCallback); in threadMain_init()
|