When exactly is PIT reset? Kinetis

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

When exactly is PIT reset? Kinetis

578件の閲覧回数
ignisuti
Contributor IV

Is a Periodic Interrupt Timer (PIT) reset the moment the rollover/interrupt occurs, or the moment the interrupt flag is cleared?

Also, if poor code was involved and the interrupt took way to long, would such and interrupt routine be re-entrant?

ラベル(1)
0 件の賞賛
1 返信

332件の閲覧回数
Paul_Tian
NXP Employee
NXP Employee

Hi, Joe

Yes, PIT load their start values, as specified in their LDVAL registers, then count down until they reach 0. Each time a timer reaches 0, it will generate a trigger pulse and set the interrupt flag. Then they load their respective start value again. So it can reset value.

Hope my reply can help you.

Best Regards

Paul

0 件の賞賛