AnsweredAssumed Answered

[MC9S12C64] Interrupt Priority for Input Capture

Question asked by Pogo Lin on Dec 8, 2011
Latest reply on Dec 12, 2011 by Pogo Lin

Hi All,

 

I've two IOC pin IOC0 and IOC3 and use them to capture input signal's pulse width. The frequency of IOC0's signal is greater than IOC3's. But sometimes the IOC3 pin will lost to capture some signals. If I want to guarantee that the signal to IOC3 pin will not lost to capture signal. How can I do?

Changing the priority of interrupt for IOC3 as highest. (HPRIO = 0xE8) ? Or you have another solution, please tell me. Thanks a lot.

 

Reagrds,

Pogo

Outcomes