----- Original Message -----
From: Guillermo Prandi
To: lpc2000@yahoogroups.com
Sent: Thursday, March 16, 2006 12:36 PM
Subject: [lpc2000] Re: LPC2138 Watchdog
Jaya: the LPC allows you to choose between reset and interrupt when
Watchdog is triggered by means of the WDMOD register. If you set
WDMOD to 0x01, you'll get a normal IRQ through the VIC when the
watchdog is triggered; if you set it to 0x03, you will get a reset
(which is similar to a hardware reset).
Guille
--- In lpc2000@yahoogroups.com, Jayasooriah <jayasooriah@...> wrote:
>
> Hi Juergen,
>
> You cannot use the watchdog as a periodic timer interrupt because
on
> watchdog interrupt the CPU is reset almost equivalent to an
external reset.
>
> Jaya
>
> --- In lpc2000@yahoogroups.com, rekerj@ wrote:
> >
> > Hi,
> >
> > how can I use the watchdog as a periodic timer?
> >
> > >using the watchdog with interrupt has two options, you use it
as a
> > >periodic timer interrupt or for debugging,...
> >
> > The information i've found in the manual is:
> > "The Watchdog Interrupt Flag is set when the watchdog times out.
This
> flag is cleared when any reset occurs."
> >
> > Due to this it isn't possible to clear the Watchdog Interrupt
Flag by
> software. But when I can't clear this flag, I can handle this
interrupt
> only one time and that wouldn't be sense of a periodic timer.
> >
> > Juergen
>
> Send instant messages to your online friends
http://au.messenger.yahoo.com
>
SPONSORED LINKS Microcontrollers Microprocessor Intel microprocessors
Pic microcontrollers
------------------------------------------------------------------------------
YAHOO! GROUPS LINKS
a.. Visit your group "lpc2000" on the web.
b.. To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
------------------------------------------------------------------------------
------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.3/281 - Release Date: 14/03/2006
[Non-text portions of this message have been removed]