.wdreset Method
Function: |
Reloads the watchdog timer to prevent a system reset. |
Syntax: |
sys.wdreset |
Returns: |
|
See Also: |
Details
sys.wdreset reloads the watchdog timer, preventing it from expiring and causing a system reset.
To avoid unexpected resets, sys.wdreset must be called within the configured timeout period.
By default, sys.wdautoreset is ENABLED, allowing TiOS to automatically reset the watchdog.
If sys.wdautoreset is DISABLED, the application must manually call sys.wdreset at regular intervals to prevent a system reset.