--- In lpc2000@yahoogroups.com, "lpc2100_fan" <lpc2100_fan@y...> wrote: > > > Friendly amendment, during the capture interrupt service routine > disable all other higher priority interrupts while handling the > setting of the timer. Read the captured value, read the current timer > value, subtract captured from current value, count the number of > cycles this took write the result of the subtraction + cycles into timer. > > Cheers, Bob Thanks for all the suggestions, I gave it a try and it works very nicely. One of those useful techniques that I will have to remember, makes sense when you think about it. thanks again Simon
Message
Re: external reset of timer
2005-01-21 by itsjustimpossible