MT_TickWDT

■Description

Resets the count value of the watchdog timer.

■Synopsis

int MT_TickWDT(int fd, PWDTVAL pwdt)

■Argument

  int fd
    Please specify handle acquired by MT_Open function.

  PWDTVAL pwdt
    Specify Pointer to the structure storing WDT setting information.
    For the pwdt structure, see MT_SetWDT.

■RETURN VALUE

If the function succeeds, NO_ERROR is returned.
If the function fails, a code other than NO_ERROR is returned.
The other errors : Error code details

■Note

After starting the watchdog timer with the MT_StartWDT function, the system is reset unless this function is called before the specified timeout value elapses. By calling this function, the count value up to the system reset is reset and the countdown starts again from the set value. Also, if the dwTickCount member is set to a value other than 0, if the MT_TickWDT function is called for the number of times by a timer etc., the count value will not be reset even if it is called.


Function List