Home
last modified time | relevance | path

Searched refs:CO (Results 1 – 6 of 6) sorted by relevance

/canopennode-3.5.0-3.4.0/
DCANopen.c48 CO_t *CO = NULL; variable
286 CO = &COO; in CO_new()
288 CO_memset((uint8_t*)CO, 0, sizeof(CO_t)); in CO_new()
289 CO->CANmodule[0] = &COO_CANmodule; in CO_new()
293 CO->SDO[i] = &COO_SDO[i]; in CO_new()
295 CO->em = &COO_EM; in CO_new()
296 CO->emPr = &COO_EMpr; in CO_new()
297 CO->NMT = &COO_NMT; in CO_new()
299 CO->SYNC = &COO_SYNC; in CO_new()
302 CO->TIME = &COO_TIME; in CO_new()
[all …]
DCANopen.h148 extern CO_t *CO;
/canopennode-3.5.0-3.4.0/example/
Dmain.c84 CO_CANsetNormalMode(CO->CANmodule[0]); in main()
99 reset = CO_process(CO, timer1msDiff, NULL); in main()
130 if(CO->CANmodule[0]->CANnormal) { in tmrTask_thread()
134 syncWas = CO_process_SYNC(CO, TMR_TASK_INTERVAL); in tmrTask_thread()
137 CO_process_RPDO(CO, syncWas); in tmrTask_thread()
142 CO_process_TPDO(CO, syncWas, TMR_TASK_INTERVAL); in tmrTask_thread()
146 CO_errorReport(CO->em, CO_EM_ISR_TIMER_OVERFLOW, CO_EMC_SOFTWARE_INTERNAL, 0U); in tmrTask_thread()
155 CO_CANinterrupt(CO->CANmodule[0]); in CO_CAN1InterruptHandler()
/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()
71 CO_EM_initCallback(CO->em, threadMain_resumeCallback); in threadMain_init()
73 CO_LSSmaster_initCallback(CO->LSSmaster, threadMain.object, threadMain.pFunct); in threadMain_init()
77 CO_SDOclient_initCallback(CO->SDOclient[i], threadMain_resumeCallback); in threadMain_init()
101 *reset = CO_process(CO, diff, &finished); in threadMain_process()
142 result = CO_CANrxWait(CO->CANmodule[0], threadRT.interval_fd, NULL); in CANrx_threadTmr_process()
149 if(CO->CANmodule[0]->CANnormal) { in CANrx_threadTmr_process()
155 syncWas = CO_process_SYNC(CO, threadRT.us_interval); in CANrx_threadTmr_process()
160 CO_process_RPDO(CO, syncWas); in CANrx_threadTmr_process()
163 CO_process_TPDO(CO, syncWas, threadRT.us_interval); in CANrx_threadTmr_process()
/canopennode-3.5.0-3.4.0/stack/PIC32/
Dmain_PIC32.c163 CO_EE_init_2(&CO_EEO, eeStatus, CO->SDO[0], CO->em); in main()
197 CO_CANsetNormalMode(CO->CANmodule[0]); in main()
202 CO_CANsetNormalMode(CO->CANmodule[1]); in main()
242 reset = CO_process(CO, timer1msDiff, NULL); in main()
279 if(CO->CANmodule[0]->CANnormal) { in __ISR()
284 syncWas = CO_process_SYNC(CO, 1000); in __ISR()
287 CO_process_RPDO(CO, syncWas); in __ISR()
293 CO_trace_process(CO->trace[i], OD_time.epochTimeOffsetMs); in __ISR()
299 CO_process_TPDO(CO, syncWas, 1000); in __ISR()
303 CO_errorReport(CO->em, CO_EM_ISR_TIMER_OVERFLOW, CO_EMC_SOFTWARE_INTERNAL, 0); in __ISR()
[all …]
/canopennode-3.5.0-3.4.0/stack/socketCAN/
DCO_Linux_tasks.c160 *reset = CO_process(CO, timer1msDiff, &timerNext); in taskMain_process()
196 taskRT.fdRx0 = CO->CANmodule[0]->fd; in CANrx_taskTmr_init()
241 CO_CANrxWait(CO->CANmodule[0]); in CANrx_taskTmr_process()
282 if(CO->CANmodule[0]->CANnormal) { in CANrx_taskTmr_process()
286 syncWas = CO_process_SYNC(CO, taskRT.intervalus); in CANrx_taskTmr_process()
289 CO_process_RPDO(CO, syncWas); in CANrx_taskTmr_process()
294 CO_process_TPDO(CO, syncWas, taskRT.intervalus); in CANrx_taskTmr_process()