ameba-sdk-gcc-make/project/realtek_ameba1_va0_example/example_sources/watchdog
2016-06-04 19:09:35 +08:00
..
src first commit and add gitignore, README.md 2016-06-04 19:09:35 +08:00
readme.txt first commit and add gitignore, README.md 2016-06-04 19:09:35 +08: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.