newlib
newlib copied to clipboard
or1k timer and interrupt can be enabled at same time?
hi, Dear experts:
I tried to enable timer and interrupt at same time. I add print in timer tick handler function. If I just enable the timer, I can see the print message. But if I add or1k_interrupts_enable(); then the print message will not seen.
So is there any examples which support timer and interrupt at the same time?
Thanks.
hi, Dear export:
The reason I did not see the timer print is because interrupt is always high. Seems like timer is lower priority than interrupts. Is there any ways to set timer priority higher than interrupts?
Thanks.