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?
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