Keil Logo

8051Fx Watchdog Example Program

This example program shows how to configure PCA Module 4 as a watchdog timer on 8051Fx-compatible devices. In this example, the watchdog is configured to 'overflow' after 0xFF00 clock cycles.

To test this program...

  1. Start the debugger.
  2. Run the program.

Each time the watchdog overflows, the message PCA Watchdog Timer will invoke Reset displays in the command window. You may set breakpoints in the program and view the PCA Timer and PCA Modules dialogs (from the Peripherals/Timer menu).

8051FX_WDOG.ZIP (7.3K)
Monday, November 27, 2000
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.