Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: external reset of timer

2005-01-21 by itsjustimpossible

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

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.