When exactly is PIT reset? Kinetis

Showing results for 
Search instead for 
Did you mean: 

When exactly is PIT reset? Kinetis

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?

Labels (1)
0 Kudos
1 Reply

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


0 Kudos