Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Nested timer interrupt example

2005-03-01 by Anton Erasmus

On 28 Feb 2005 at 16:04, Robert Adsett wrote:

> 
> At 10:15 PM 2/28/05 +0200, Anton Erasmus wrote:
> >Does anyone have some example code for gcc for a nested timer
> >interrupt ? I have googled a bit, and have found some discussion
> >regarding the switching of modes from interrupt mode to system mode
> >before re-enabling interrupts.
> 
> Before you go too far make sure you've read the timer race conditions
> errata.

I am using the LPC2292, and there is no mention in the LPC2292 errata
regarding timer problems. 
http://www.semiconductors.philips.com/acrobat/erratasheets/2292.pdf
Can you maybe point me to the specific errata sheet that describes this ?

The idea is to set up a periodic interrupt of x milli-seconds. After the interrupt
has been acknowledged, interrupts are enabled again. If an overrun occurs, the
interrupt routine will be interrupted, and I can then detect this and take appropriate
action as neccesary.

Regards
   Anton Erasmus


-- 
A J Erasmus

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.