kvDiagSample Struct Reference

#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
 

Detailed Description

Field Documentation

◆ data

char data[64]

CAN data.

Examples:
example/c/kvdiag/normal.c.

◆ dlc

int dlc

CAN DLC.

Examples:
example/c/kvdiag/normal.c.

◆ edgeCount

int edgeCount

Number of edges in edgeTimes.

Examples:
example/c/kvdiag/normal.c.

◆ edgeTimes

int edgeTimes[8192]

Time since previous edge in analyzer ticks at sampleFreq.

Examples:
example/c/kvdiag/normal.c.

◆ flag

int flag

◆ header

struct { ... } header

◆ id

int id

CAN id.

Examples:
example/c/kvdiag/normal.c.

◆ msg

struct { ... } msg

◆ sample

struct { ... } sample

◆ sampleFreq

int sampleFreq

Clock frequency of the analyzer.

Examples:
example/c/kvdiag/normal.c.

◆ seqno

int seqno

Sequence number.

Examples:
example/c/kvdiag/normal.c.

◆ startTime

int64_t startTime

Time of the first edge (start bit)

Examples:
example/c/kvdiag/normal.c.

◆ startValue

int startValue

Value prior to the first edge (start bit)

Examples:
example/c/kvdiag/normal.c.

◆ time

int64_t time

CPU ticks since device boot.

◆ type

int type

Analyzer type.

◆ version

int version

Struct version.


The documentation for this struct was generated from the following file: