Hi all. I want to use all 4 T0MRx in my program. whit TxMCR we can set what happen after T0MRx match with T0TC. my problem is here : I could wrote code for 1 T0MRx , but I can't write code for all of them.
one point : timerx jast have one isr , how i can use all of 4 T0MRx interrupt ? thanks.
oh , the MCU is lpc2378.
"I think my problem is on T0IR , isn't it ?"
That's not your only problem - I do cover more problems in my previous answer. And I didn't spend any time looking at your timer initialization. Just at your "detect" and "acknowledge" sections of your ISR.