EasyManua.ls Logo

STW TC1 - Watchdog

STW TC1
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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).
Function
Brief description
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
Path
Input
information
Output
information
Description
/dev/watchdog
-
-
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
Path
Input
information
Output
information
Description
/proc/stw_wd/trigger
p1
-
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

Table of Contents