COMEDI_GET_TIMER(3) | Comedi reference | COMEDI_GET_TIMER(3) |
NAME¶
comedi_get_timer - timer information (deprecated)SYNOPSIS¶
#include <comedilib.h>
int
comedi_get_timer(comedi_t * device,
unsigned int subdevice,
double frequency,
unsigned int * trigvar,
double * actual_frequency);
STATUS¶
deprecatedDESCRIPTION¶
The function comedi_get_timer converts the frequency frequency to a number suitable to send to the driver in a comedi_trig structure. This function remains for compatibility with very old versions of Comedi, that converted sampling rates to timer values in the library. This conversion is now done in the kernel, and every device has the timer type nanosec_timer, indicating that timer values are simply a time specified in nanoseconds.AUTHORS¶
David Schleef <ds@schleef.org>Author.
Frank Mori Hess <fmhess@users.sourceforge.net>
Author.
Herman Bruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
Author.
Bernd Porr <tech@linux-usb-daq.co.uk>
Author.
Ian Abbott <abbotti@mev.co.uk>
Author.
COPYRIGHT¶
Copyright © 1998-2003 David Schleef07/06/2012 | Comedi |