WatchdogSetTime (FUN)ΒΆ
FUNCTION WatchdogSetTime : DINT
Sets the watchdog time. The time until the watchdog triggers
is the multiplication of factor and timeout_us.
@param factor The factor specifies how often the timeout_us
has to elapse until the watchdog triggers.
@param timeout_us The timeout of the watchdog in microseconds.
@return Return DAL_SUCCESS on success, DAL_FAILURE otherwise.
- InOut:
Scope
Name
Type
Return
WatchdogSetTime
DINT
Input
factor
UDINT
timeout_us
UDINT