This is the documentation for the latest (main) development branch of HPM SDK. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

6.40. WDG API demo

6.40.1. Overview

The demo provides the following features:

  • WDG interrupt demo

  • WDG timeout reset demo

6.40.2. Board Setting

No special settings are required

6.40.3. Running the example

When the example runs successfully, the board shows the following menu:

****************************************************************
*                                                              *
*  WDG Example Menu                                            *
*  1. Test WDG interrupt                                       *
*  2. Test WDG reset                                           *
*                                                              *
****************************************************************