Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: Watchdog and external Interrupt problem

2005-03-15 by Robert Adsett

At 07:43 PM 3/15/05 +0000, itsjustimpossible wrote:
>Thanks to all those who replied. Sorry for the delay in replying,
>finally got back to working on this again.
>
>Just a quick question, yes I am in User mode all the time which
>means doing a software interrupt to change mode to disable/enable
>interrupts. This is all a bit too slow.
>
>We are not using an RTOS, so are there any drawbacks with staying in
>Supervisor mode as you suggest?

Actually I'd suggest system mode.  The only difference between User and 
System mode is (AFAIK) that in system mode you can control the interrupt 
and mode bits.  RTOS or not, on this small a micro I see no benefit to user 
mode.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,   be 
they legal, genetic, or physical.  If you don't believe me, try to chew a 
radio signal. "  -- Kelvin Throop, III
http://www.aeolusdevelopment.com/

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.