![]() |
#include <canlib.h>
Data Fields | |
int | version |
int | numerator |
int | denominator |
int | power_of_ten |
int | accuracy_ppm |
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;
int accuracy_ppm |
The accuracy (in ppm) of the device clock.
int denominator |
The denominator part of the device clock frequency.
int numerator |
The numerator part of the device clock frequency.
int power_of_ten |
The power_of_ten part of the device clock frequency.
int version |
The version of this struct, currently 1