
ADwin-Gold II
, Manual February 2013
57
System functions
Watchdog_Standby_Value
ADwin
Watchdog_
Standby_Value
Watchdog_Standby_Value
sets the output
Watchdog
Out
to the selected
TTL level.
Syntax
#INCLUDE
ADwinGoldII.inc / GoldIITiCo.inc
Watchdog_Standby_Value
(
level
)
Parameters
Notes
The ouput can only be set with
Watchdog_Standby_Value
if the
watchdog counter itself does not set the output or is disabled (see
Watchdog_Init
).
After power-up the output
Watchdog
Out
is set to TTL level Low.
See also
,
Valid for
Gold II
Example
Rem Select the appropriate include file for ADbasic / TiCoBasic
#INCLUDE
ADwinGoldII.inc / GoldIITiCo.inc
Init:
Watchdog_Init
(
1
,
0FFFEh
,
0001b
)
'enable and configure watchdog
Watchdog_Standby_Value
(
1
)
'set watchdog value to level high
Event:
Watchdog_Reset
()
'reset watchdog regularly
Rem …
T11 TiCo
level
TTL level of the output
Watchdog
Out
:
0: TTL level low.
1: TTL level high.
LONG