6 Software
User Manual 82/374
6.6 Watchdog
Library functions for the watchdog
The watchdog can be configured with the functions of the system daemon (see "System daemon" on page 88).
ysysd_register_watch_dog
(see
"ysysd_register_watch_dog"
on page 151)
The TAF library function registers the application on system daemon.
ysysd_trigger_watch_dog
(see
"ysysd_trigger_watch_dog"
on page 152)
The TAF library function sets the interval time to the system daemon.
ysysd_cancel_watch_dog
(see
"ysysd_cancel_watch_dog"
on page 153)
The TAF library function deregisters the supervising from the system daemon.
High Level Hardware Access
This device is created by the linux kernel that provides the
interface of the software watchdog. The watchdog has to be
triggered each 60 seconds.
Low Level Hardware Access
This user space interface handles the hardware watchdog
of the system. This has to be toggled each second.
p1:
< 0 > = sets signal to low
< 1 > = sets signal to high
< t > = toggles the signal
This user interface has to be toggled within less than one second. Otherwise the system will reboot.