Forum Discussion
Altera_Forum
Honored Contributor
20 years agoApplication timer
Hi, I'm trying to write an application that polls at regular intervals my hardware via serial port. What I need is an event that calls a function at regular times without charge the CP...
Altera_Forum
Honored Contributor
20 years agoHi Scott,
sorry for the delay of my answer, but I spent some days at home. Thank you for your answer. <div class='quotetop'>QUOTE </div> --- Quote Start --- I'm assuming you want to access the hardware directly? ... Without using the serial driver? [/b] --- Quote End --- I've a device connected to the Nios via rs232. My application has to poll the device periodically to read his status and if somthing changes it sends SNMP traps. I tried the select example code this morning and it seems to work. I'm pretty new in uClinux and so I have some questions: - is my solution good or is it better to write a kernel driver, and to use kernel timers or task queues or something else? thanks, StePa