kvClockInfo Struct Reference

#include <canlib.h>

Data Fields

int version
 
int numerator
 
int denominator
 
int power_of_ten
 
int accuracy_ppm
 

Detailed Description

Returned when using canCHANNELDATA_CLOCK_INFO

Returns clock characteristics for device.

The device clock frequency can then be calculated as:

double frequency = numerator/denominator * 10 ** power_of_ten;

Field Documentation

◆ accuracy_ppm

int accuracy_ppm

The accuracy (in ppm) of the device clock.

◆ denominator

int denominator

The denominator part of the device clock frequency.

◆ numerator

int numerator

The numerator part of the device clock frequency.

◆ power_of_ten

int power_of_ten

The power_of_ten part of the device clock frequency.

◆ version

int version

The version of this struct, currently 1


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