Chapter 24. Package: Watchdog device

Macro name

CYGPKG_DEVICES_WATCHDOG

Type

Boolean

Description

The watchdog device allows applications to make use of a timer facility. First the application should register an action routine with the watchdog device, and start the watchdog running. After this the application must call a watchdog reset function at regular intervals, or else the device will cause the installed action routine to be invoked. The assumption is that the watchdog timer should never trigger unless there has been a serious fault in either the hardware or the software, and the application"s action routine should perform an appropriate reset operation.