chkWDTO() will give you what you need. If it returns 1 if the ED timed out and 0 if it didn’t. There are similar functions for testing hard or soft reset also.
From:
groenenberg25
[mailto:p...@hotmail.com]
Sent: Thursday, January 20, 2005
8:35 AM
To:
r...@yahoogroups.com
Subject: [rabbit-semi] Re: How to
detect a HW watchdog timeout
Yes, thats what I mean.
--- In r...@yahoogroups.com,
"Bob Hohentanner"
<bhohentanner@a...> wrote:
> Do you mean check if the Rabbit is restarting
as a result of a WD
> timeout?
>
>
>
________________________________
>
> From: groenenberg25
[mailto:peter_groenenberg@h...]
> Sent: Thursday, January 20, 2005 8:18
AM
> To:
r...@yahoogroups.com
> Subject: [rabbit-semi] How to detect a HW
watchdog timeout
>
>
> Hi,
>
> I think this is a basic question, but i can
fugure out how it works.
>
> I want to use the WH watchdog timer in my
program. Does anyone know
> how I can detect if it timed
out?
>
> When I check the GCSR register (of my RCM
3700), nothing changes.
>
> I want my dynamic C program to do the
following as it starts:
>
>
>
Yes -> Do something
>
/
> Check if WD timer timed
out->
>
\
>
No -> Do someting else
>
>
>
> thanks,
> Peter
>
>
>
>
>
>
>
________________________________
>
> >
.
Do you mean check if the Rabbit is restarting as a result of a WD timeout?
From:
groenenberg25
[mailto:p...@hotmail.com]
Sent: Thursday, January 20, 2005
8:18 AM
To:
r...@yahoogroups.com
Subject: [rabbit-semi] How to
detect a HW watchdog timeout
Hi,
I think this is a basic question, but i can fugure
out how it works.
I want to use the WH watchdog timer in my program.
Does anyone know
how I can detect if it timed out?
When I check the GCSR register (of my RCM 3700),
nothing changes.
I want my dynamic C program to do the following as
it starts:
Yes -> Do something
/
Check if WD timer timed out->
\
No -> Do someting else
thanks,
Peter