open-ameba/RTL00_SDKV35a/example_sources/watchdog
2016-12-14 04:21:37 +03:00
..
src add examples 2016-12-14 04:21:37 +03:00
readme.txt add examples 2016-12-14 04:21:37 +03: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.