This provides a basic Watchdog service, and includes a startup detection to determine if the reset was caused by the WD.

Dependents:   A_CANAdapter LeonardoMbos AVC_2012 RT_CAN ... more

Embed: (wiki syntax)

« Back to documentation index

Watchdog.h File Reference

Watchdog.h File Reference

provides the interface to the Watchdog module More...

Go to the source code of this file.

Data Structures

class  Watchdog
 The Watchdog class provides the interface to the Watchdog feature. More...

Detailed Description

provides the interface to the Watchdog module

This provides basic Watchdog service for the mbed. You can configure various timeout intervals that meet your system needs. Additionally, it is possible to identify if the Watchdog was the cause of any system restart, permitting the application code to take appropriate behavior.

Adapted from Simon's Watchdog code from http://mbed.org/forum/mbed/topic/508/

Note:
Copyright © 2011,2015 by Smartware Computing, all rights reserved. This software may be used to derive new software, as long as this copyright statement remains in the source file.
Author:
David Smart

History

  • v2.00 - 20150315: Enhanced beyond TARGET_LPC1768 to TARGET_LPC4088, TARGET_STM
  • v1.00 - 20110616: initial release with some documentation improvements

Definition in file Watchdog.h.