Home
last modified time | relevance | path

Searched refs:SDO (Results 1 – 25 of 26) sorted by relevance

12

/canopennode-3.5.0-3.4.0/stack/
DCO_SDO.c163 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 …]
DCO_SDO.h785 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 …]
DCO_PDO.c190 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 …]
DCO_SDOmaster.c172 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 …]
DCO_PDO.h167 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,
DCO_trace.c114 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()
DCO_SYNC.c223 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()
DCO_Emergency.c132 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()
DCO_trace.h90 CO_SDO_t *SDO; /**< From CO_trace_init(). */ member
137 CO_SDO_t *SDO,
DCO_SDOmaster.h99 CO_SDO_t *SDO; member
183 CO_SDO_t *SDO,
DCO_TIME.c55 CO_SDO_t *SDO, in CO_TIME_init() argument
65 if(TIME==NULL || em==NULL || SDO==NULL || operatingState==NULL || in CO_TIME_init()
DCO_HBconsumer.c133 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()
DCO_TIME.h129 CO_SDO_t *SDO,
DCO_SYNC.h129 CO_SDO_t *SDO,
DCO_HBconsumer.h127 CO_SDO_t *SDO,
DCO_Emergency.h376 CO_SDO_t *SDO,
/canopennode-3.5.0-3.4.0/
DCANopen.c293 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 …]
DREADME.md28 - 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).
DCANopen.h123 CO_SDO_t *SDO[CO_NO_SDO_SERVER]; /**< SDO object */ member
/canopennode-3.5.0-3.4.0/stack/drvTemplate/
Deeprom.c142 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()
Deeprom.h89 CO_SDO_t *SDO,
/canopennode-3.5.0-3.4.0/stack/PIC32/
Deeprom.h92 CO_SDO_t *SDO,
Deeprom.c242 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()
Dmain_PIC32.c163 CO_EE_init_2(&CO_EEO, eeStatus, CO->SDO[0], CO->em); in main()
/canopennode-3.5.0-3.4.0/stack/neuberger-socketCAN/
DCO_Linux_threads.c70 CO_SDO_initCallback(CO->SDO[0], threadMain_resumeCallback); in threadMain_init()

12