Hi,
The interrupt flag will be set as soon as TMR1 overflows but PBP won't "see" it until the PauseUs statement is completed. Hence, the ISR won't be executed until after the pause.
Using DTInts won't give you that problem.
Hi,
The interrupt flag will be set as soon as TMR1 overflows but PBP won't "see" it until the PauseUs statement is completed. Hence, the ISR won't be executed until after the pause.
Using DTInts won't give you that problem.
OK ! I will give the Dtint a try ...
Thanks for the fast reply !
Best regards,
UB
Just wondering. With the pbp ON INTERRUPT STATEMENT i could do a RESUME to a specific label.
This is not possible with the DT int, right ?
DT interrupts can't return to a specific label - but you can set a flag inside the ISR and test for that in your main program loop. If set, you can jump to wherever you want.
Although it isn't quite "instant", that method can usually accomplish what you need.
Charles Linquist
Bookmarks