- From: Herman Bruyninckx <Herman.Bruyninckx_at_mech.kuleuven.ac.be>
- Date: Wed, 30 Apr 2003 16:00:44 +0200 (CEST)
What is the exact aim/meaning of the comedi_event() function in comedi_fops? It handles all events that have been generated and stored in the s->async->events flag? The last "mask" argument of the function call is an integer, which is almost immediately overwritten before its value is used... Apparently "mask" is used as "s->async->events", which is a global variable and hence need not be given as argument in the function call. (So, can "mask" disappear from the comedi_event prototype?) If I am wrong here, where can I find the exact meaning of this mask flag, and of all the events that this command must/can service? Another point: callbacks can only be done when the subdevice has commands? This is not illogical.... Finally, the INTTRIG instruction carries a third numerical argument; what is the meaning of it? Encoding of driver-specific trigger identification? Herman -- K.U.Leuven, Mechanical Engineering, Robotics Research Group <http://people.mech.kuleuven.ac.be/~bruyninc> Tel: +32 16 322480
Received on 2003-04-30Z13:00:44