Now ,I have a problem.
I use the interrupt of Timer0 IOC0 (vector address 0x1CC)and IOC3(vector address 0x1C0). IOC3 is for input capture and IOC0 for output compare. The timer base frequency is 200K. The problem is when I set the different priority it will meet some problem. If I set the same priority it works well. You can see the problem below: