logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

comedi_get_timer - timer information (deprecated)

Authors

DavidSchleef <ds@schleef.org>
           Author.

       FrankMoriHess <fmhess@users.sourceforge.net>
           Author.

       HermanBruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
           Author.

       BerndPorr <tech@linux-usb-daq.co.uk>
           Author.

       IanAbbott <abbotti@mev.co.uk>
           Author.

       ÉricPiel <piel@delmic.com>
           Author.

Description

       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.

Name

       comedi_get_timer - timer information (deprecated)

Status

       deprecated

Synopsis

#include<comedilib.h>intcomedi_get_timer(comedi_t*device,unsignedintsubdevice,doublefrequency,unsignedint*trigvar,double*actual_frequency);

See Also