![Portwell ROBO-8122VG2R User Manual Download Page 28](http://html1.mh-extra.com/html/portwell/robo-8122vg2r/robo-8122vg2r_user-manual_1581926028.webp)
ROBO-8122VG2R
Copyright © Portwell 2017 ROBO-8122VG2R User's Guide
28
¾
PET_WDT_SetConfig
Declaration
Once the watch dog has been activated, its timer begins to count down. The application has to periodically call PET_WDT_Trigger to refresh the timer before it
expires, i.e. reload the watch dog timer within the specified timer out or the system will reboot when it counts down to 0.
Prototype
int PET_WDT_SetConfig (int type, unsigned char timeout);
Parameter
type
[In] The type specifies the watch dog timer count unit.
timeout
[In] it specifies a value in second or minute for the watch dog timer out.
Return Value
If the return value (0) is success, otherwise return an error code.
Sample Code
PET_WDT_SetConfig (SECOND_MODE, 10); // 10 second
Summary of Contents for ROBO-8122VG2R
Page 13: ...ROBO 8122VG2R Copyright Portwell 2017 ROBO 8122VG2R User s Guide 13 2 2 Mechanical Dimensions...
Page 14: ...ROBO 8122VG2R Copyright Portwell 2017 ROBO 8122VG2R User s Guide 14...
Page 17: ...ROBO 8122VG2R Copyright Portwell 2017 ROBO 8122VG2R User s Guide 17 Block Diagram...
Page 51: ...ROBO 8122VG2R Copyright Portwell 2017 ROBO 8122VG2R User s Guide 51 CPU0 1 PCIE Configuration...
Page 76: ...ROBO 8122VG2R Copyright Portwell 2017 ROBO 8122VG2R User s Guide 76 6 2 5 Save Exit...
Page 83: ...ROBO 8122VG2R Copyright Portwell 2017 ROBO 8122VG2R User s Guide 83...