Altera_Forum
Honored Contributor
16 years agoHow to use timer defined by OSTmrCreate ?
Hi all,
I would like to use timer with MicroC/OS-II. I have already enabled it by setting to 1 OS_TMR_EN . The functions OSTmrCreate and OSTmrStart return no error. But the timer never elapse and the associated callback is never called. Is there any other flag to set for using timer functionnality in MicroC/OS-II ? How to set a timer ? I have not foung any tutorials about that. Thanks for your answer. Patrice