This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: which function can I kick watchdog ??
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Steven_cheng <05071 at alphanetworks dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 2 Aug 2005 09:21:26 +0200
- Subject: Re: [ECOS] which function can I kick watchdog ??
- References: <003d01c59725$2d246070$01473264@stevencheng>
On Tue, Aug 02, 2005 at 01:43:57PM +0800, Steven_cheng wrote:
> Hello All,
>
> It is supported watchdog in my platform (MPC 8245).
The hardware watchdog does not appear to be supported. However eCos as
a software watchdog you can use, or you can implement the hardware
support needed. Its not usually difficult.
> Did any one tell me which function I can kick watchdog ??
> Is it hal_delay_us ?? or what function ??
Cyg_Watchdog::watchdog.reset();
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss