Monitoring by the watchdog timer is started. Before calling this function, it is necessary to initialize and set it by MT_SetWDT function.
After executing this function, if you do not call MT_StopWDT or MT_TickWDT before the timeout value specified in the WDTVAL structure elapses, the system will be reset.
int MT_StartWDT(int fd,PWDTVAL pwdt)
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.
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
There is about +/- 2 timeout tolerance by WDT.
When setting for 30 seconds, set the WDT retrigger before 28 seconds elapse.
If there is no retrigger, the system will be reset by WDT timeout.
System reset due to WDT time-up does not guarantee the data being written to Disk.
Function List