open-ameba/sdk/example_sources/watchdog/readme.txt

11 lines
330 B
Text
Raw Permalink Normal View History

2016-12-14 01:21:37 +00:00
Example Description
This example describes how to use watchdog api.
Requirement Components: None
In this example, watchdog is setup to 5s timeout.
Watchdog won't bark if we refresh it before timeout.
The timer is also reloaded after refresh.
Otherwise it will restart system in default or call callback function if registered.