io-char code

bridged with qdn.public.ddk.input
Post Reply
Berkeley Process Control

io-char code

Post by Berkeley Process Control » Fri Jun 22, 2001 8:19 pm

HI,

in the io-char driver in http://cvs.qnx.com/cgi-bin/cvsweb.cgi/nto/io-char/
There is a timer_tick routine. Where is this called from? I tried
to look at the main routine, but I did not find it??? Is this a full
driver?

The main question is how does one set a ticker which calls the driver
once a (milli) second??

Thanks

Mario Charest

Re: io-char code

Post by Mario Charest » Fri Jun 22, 2001 9:50 pm

In ttc.c look for pulse_attach(). This function is called wherever the
pulse is received.
I have found one place where the Pulse is send: io_write.c function kick.c

"Berkeley Process Control" <bpc@berkeleyprocess.com> wrote in message
news:9h096n$anr$1@inn.qnx.com...
HI,

in the io-char driver in
http://cvs.qnx.com/cgi-bin/cvsweb.cgi/nto/io-char/
There is a timer_tick routine. Where is this called from? I tried
to look at the main routine, but I did not find it??? Is this a full
driver?

The main question is how does one set a ticker which calls the driver
once a (milli) second??

Thanks

Post Reply

Return to “qdn.public.ddk.input”