1COMEDI_GET_TIMER(3) COMEDI_GET_TIMER(3)
2
3
4
6 comedi_get_timer - timer information (deprecated)
7
9 #include <comedilib.h>
10
11 int comedi_get_timer (comedi_t * device, unsigned int subdevice, double
12 frequency, unsigned int * trigvar, double * actual_frequency);
13
15 deprecated
16
18 The function comedi_get_timer converts the frequency frequency to a
19 number suitable to send to the driver in a comedi_trig structure. This
20 function remains for compatibility with very old versions of Comedi,
21 that converted sampling rates to timer values in the libary. This con‐
22 version is now done in the kernel, and every device has the timer type
23 nanosec_timer, indicating that timer values are simply a time specified
24 in nanoseconds.
25
26 28 October 2007 COMEDI_GET_TIMER(3)