hi,
I am using lpc2294, ARTX, 12MhzXTALx5`Mhz
timer tick occurs every 10ms ...no problem with that. os_dly_wait
works fine.
But my user timer never timeouts
forexample:
os_tmr_create(100,1);//I expect timeout every 10x10000ms
but I never get os_tmr_call() called.
I have initted the os. os_tmr_create()creates the timer (returns
something) but os_tmr_call() is not called.
What can be the problem?
user timer problem (os_tmr_call never called)
Started by ●August 22, 2007
Reply by ●August 22, 20072007-08-22
Reply by ●August 22, 20072007-08-22
--- In l..., "bahadir_armagan"
wrote:
>
> any opinions?
>
Not really - I don't use that OS.
The constructor call seems a bit strange - where does the callback get
passed in so that the timer knows what to call?
What calls the callback anyway - is the thread that calls the timer
create supposed to return to an OS blocking call before the timer can
get called? Do you do that?
Just guesses...
Rgds,
Martin
wrote:
>
> any opinions?
>
Not really - I don't use that OS.
The constructor call seems a bit strange - where does the callback get
passed in so that the timer knows what to call?
What calls the callback anyway - is the thread that calls the timer
create supposed to return to an OS blocking call before the timer can
get called? Do you do that?
Just guesses...
Rgds,
Martin