Yahoo Groups archive

Lpc2000

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

Message

Re: external reset of timer

2005-01-19 by Karl Olsen

--- In lpc2000@yahoogroups.com, "itsjustimpossible" <simonjh@b...> 
wrote:
> 
> I need to use an external pulse to reset one of the timers of an 
> LPC2294. The latency of the FIQ from an external interrupt is too 
> long, so I wondered if there is any clever technique that anyone 
has 
> thought of to achieve the same thing faster.
> 
> Sadly, the capture pins aren't able to provide a nice external 
> hardware reset input.

Use a capture pin and enable the capture interrupt.  In the capture 
interrupt handler, remember the captured value as the time where you 
would have reset the timer.  When you later need the timer value, 
subtract the remembered value.

Karl Olsen

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.