![]() |
#include <kvDiag.h>
Data Fields | |
| struct { | |
| int version | |
| Struct version. More... | |
| int seqno | |
| Sequence number. More... | |
| int type | |
| Analyzer type. More... | |
| } | header |
| struct { | |
| int id | |
| CAN id. More... | |
| int64_t time | |
| CPU ticks since device boot. More... | |
| char data [64] | |
| CAN data. More... | |
| int flag | |
| CAN flags, canMSG_STD, canMSG_EXT, canMSG_RTR. More... | |
| int dlc | |
| CAN DLC. More... | |
| } | msg |
| struct { | |
| int64_t startTime | |
| Time of the first edge (start bit) More... | |
| int sampleFreq | |
| Clock frequency of the analyzer. More... | |
| int startValue | |
| Value prior to the first edge (start bit) More... | |
| int edgeCount | |
| Number of edges in edgeTimes. More... | |
| int edgeTimes [8192] | |
| Time since previous edge in analyzer ticks at sampleFreq. More... | |
| } | sample |
Output when using kvDiagReadSample() and kvDiagReadSampleWait().
| char data[64] |
CAN data.
| int dlc |
CAN DLC.
| int edgeCount |
Number of edges in edgeTimes.
| int edgeTimes[8192] |
Time since previous edge in analyzer ticks at sampleFreq.
| int flag |
CAN flags, canMSG_STD, canMSG_EXT, canMSG_RTR.
| struct { ... } header |
| int id |
CAN id.
| struct { ... } msg |
| struct { ... } sample |
| int sampleFreq |
Clock frequency of the analyzer.
| int seqno |
Sequence number.
| int64_t startTime |
Time of the first edge (start bit)
| int startValue |
Value prior to the first edge (start bit)
| int64_t time |
CPU ticks since device boot.
| int type |
Analyzer type.
| int version |
Struct version.