This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Timer and Interrupt on C167

Hi,
I've timer T6 set to send interrupt (level 11, group 1) each 500 microseconds. This interrupt is managed by a routine.
I need to know how many time remains after this routine before the next T6 Interrupt, because I need to insert some other code in the same routine if it's possible.

I suppose I need another timer, but I don't know how to use it.

Another question: what happens if the routine requires more than 500 microseconds.

Many Thanks,
Marco

0