Go to the documentation of this file.
33 #ifndef CO_CONFIG_TRACE
34 #define CO_CONFIG_TRACE (0)
37 #if ((CO_CONFIG_TRACE) & CO_CONFIG_TRACE_ENABLE) || defined CO_DOXYGEN
69 #ifndef OD_INDEX_TRACE_CONFIG
70 #define OD_INDEX_TRACE_CONFIG 0x2301
71 #define OD_INDEX_TRACE 0x2401
unsigned long int uint32_t
UNSIGNED32 in CANopen (0007h), 32-bit unsigned integer.
Definition: CO_driver.h:155
Interface between CAN hardware and CANopenNode.
Trace object.
Definition: CO_trace.h:93
int32_t * minValue
From CO_trace_init().
Definition: CO_trace.h:108
unsigned int uint16_t
UNSIGNED16 in CANopen (0006h), 16-bit unsigned integer.
Definition: CO_driver.h:153
uint32_t * triggerTime
From CO_trace_init().
Definition: CO_trace.h:110
int32_t valuePrev
Previous value of value.
Definition: CO_trace.h:104
uint32_t * timeBuffer
From CO_trace_init().
Definition: CO_trace.h:96
uint32_t bufferSize
From CO_trace_init().
Definition: CO_trace.h:98
unsigned char bool_t
Boolean data type for general use.
Definition: CO_driver.h:141
signed long int int32_t
INTEGER32 in CANopen (0004h), 32-bit signed integer.
Definition: CO_driver.h:147
uint8_t * format
From CO_trace_init().
Definition: CO_trace.h:106
int32_t * threshold
From CO_trace_init().
Definition: CO_trace.h:112
volatile uint32_t writePtr
Location in buffer, which will be next written.
Definition: CO_trace.h:99
CANopen Service Data Object - server protocol.
uint32_t lastTimeStamp
Last time stamp.
Definition: CO_trace.h:101
void * OD_variable
Pointer to variable, which is monitored.
Definition: CO_trace.h:102
CO_SDO_t * SDO
From CO_trace_init().
Definition: CO_trace.h:95
structure for reading variables and printing points for specific data type.
Definition: CO_trace.h:78
volatile uint32_t readPtr
Location in buffer, which will be next read.
Definition: CO_trace.h:100
void CO_trace_init(CO_trace_t *trace, CO_SDO_t *SDO, uint8_t enabled, uint32_t *timeBuffer, int32_t *valueBuffer, uint32_t bufferSize, uint32_t *map, uint8_t *format, uint8_t *trigger, int32_t *threshold, int32_t *value, int32_t *minValue, int32_t *maxValue, uint32_t *triggerTime, uint16_t idx_OD_traceConfig, uint16_t idx_OD_trace)
Initialize trace object.
int32_t * value
From CO_trace_init().
Definition: CO_trace.h:107
bool_t enabled
True, if trace is enabled.
Definition: CO_trace.h:94
uint32_t * map
From CO_trace_init().
Definition: CO_trace.h:105
int32_t * maxValue
From CO_trace_init().
Definition: CO_trace.h:109
uint8_t * trigger
From CO_trace_init().
Definition: CO_trace.h:111
void CO_trace_process(CO_trace_t *trace, uint32_t timestamp)
Process trace object.
const CO_trace_dataType_t * dt
Data type specific function pointers.
Definition: CO_trace.h:103
unsigned char uint8_t
UNSIGNED8 in CANopen (0005h), 8-bit unsigned integer.
Definition: CO_driver.h:151
int32_t * valueBuffer
From CO_trace_init().
Definition: CO_trace.h:97