1
.\" This manpage has been automatically generated by docbook2man
2
.\" from a DocBook document. This tool can be found at:
3
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
4
.\" Please send any bug reports, improvements, comments, patches,
5
.\" etc. to Steve Cheng <steve@ggi-project.org>.
6
.TH "COMEDI_GET_TIMER" "3" "02 October 2004" "" ""
9
comedi_get_timer \- timer information (deprecated)
12
\fB#include <comedilib.h>
14
int comedi_get_timer (comedi_t * \fIdevice\fB, unsigned int \fIsubdevice\fB, double \fIfrequency\fB, unsigned int * \fItrigvar\fB, double * \fIactual_frequency\fB);
21
The function comedi_get_timer converts the frequency frequency
22
to a number suitable to send to the driver in a comedi_trig
23
structure. This function remains for compatibility with very
24
old versions of Comedi, that converted sampling rates to timer
25
values in the libary. This conversion is now done in the kernel,
26
and every device has the timer type nanosec_timer, indicating
27
that timer values are simply a time specified in nanoseconds.