Home
last modified time | relevance | path

Searched refs:trace (Results 1 – 7 of 7) sorted by relevance

/canopennode-3.5.0-3.4.0/stack/
DCO_trace.c92 static void findVariable(CO_trace_t *trace) { in findVariable() argument
101 index = (uint16_t) ((*trace->map) >> 16); in findVariable()
102 subIndex = (uint8_t) ((*trace->map) >> 8); in findVariable()
103 dataLen = (uint8_t) (*trace->map); 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()
117 OdDataPtr = CO_OD_getDataPointer(trace->SDO, entryNo, subIndex); in findVariable()
121 uint16_t len = CO_OD_getLength(trace->SDO, entryNo, subIndex); in findVariable()
142 if(((*trace->format) & 1) == 1) { in findVariable()
146 dtIndex += ((*trace->format) >> 1) * 6; in findVariable()
[all …]
DCO_trace.h136 CO_trace_t *trace,
164 void CO_trace_process(CO_trace_t *trace, uint32_t timestamp);
/canopennode-3.5.0-3.4.0/example/CO_OD_with_trace/
DCO_OD.c303 {(void*)&CO_OD_RAM.trace[0].maxSubIndex, 0x06, 1},
304 {(void*)&CO_OD_RAM.trace[0].size, 0xBE, 4},
305 {(void*)&CO_OD_RAM.trace[0].value, 0xA6, 4},
306 {(void*)&CO_OD_RAM.trace[0].min, 0xBE, 4},
307 {(void*)&CO_OD_RAM.trace[0].max, 0xBE, 4},
309 {(void*)&CO_OD_RAM.trace[0].triggerTime, 0xBE, 4}};
311 {(void*)&CO_OD_RAM.trace[1].maxSubIndex, 0x06, 1},
312 {(void*)&CO_OD_RAM.trace[1].size, 0xBE, 4},
313 {(void*)&CO_OD_RAM.trace[1].value, 0xA6, 4},
314 {(void*)&CO_OD_RAM.trace[1].min, 0xBE, 4},
[all …]
DCO_OD.h213 /*2401[2] */ OD_trace_t trace[2]; member
431 #define OD_trace CO_OD_RAM.trace
/canopennode-3.5.0-3.4.0/
DCANopen.c323 CO->trace[i] = &COO_trace[i]; in CO_new()
369 CO->trace[i] = (CO_trace_t *) calloc(1, sizeof(CO_trace_t)); in CO_new()
454 if(CO->trace[i] == NULL) errCnt++; in CO_new()
730 CO->trace[i], in CO_CANopenInit()
794 free(CO->trace[i]); in CO_delete()
DCANopen.h142 CO_trace_t *trace[CO_NO_TRACE]; /**< Trace object for monitoring variables */ member
/canopennode-3.5.0-3.4.0/stack/PIC32/
Dmain_PIC32.c293 CO_trace_process(CO->trace[i], OD_time.epochTimeOffsetMs); in __ISR()