Hello
I am new to embedded programming.
I have some confusion regarding timers.
I want to run two separate timers(HET). One should be 1 sec and other one should be 5 sec. Although I can use single timer for both timing but I want to run two separate timers. So my confusion is:
1) Which interrupt will be invoked if both interrupt comes together ?
2)If I want to interrupt the ISR of other timer, how can I do that ?
Is there any guide, how can I run 2 timers ? I am following these steps:
a) toggles the High End Timer (HET) pin 1 based on an RTI timer compare 0 tick of one second, as shown in example_rtiBlinky.c
b)Enable RTI Compare 0 and RTI Compare 1.
c)Configure RTI compare 0 period to 1000 ms and Configure RTI compare 1 period to 5000 ms.
What modifications should I do in the ISR part to differentiate interrupts of two timers ?
