#include <WDT.h>

Inheritance diagram for WDTClass:
Collaboration diagram for WDTClass:

Public Member Functions

void enable (bool enableWatchDog)
 Enable or disable watchdog timer. More...
 
void alive ()
 Keep watchdog timer alive. More...
 

Protected Member Functions

void onSystemReady () override
 Handle system ready events. More...
 
void internalApplyEnabled ()
 
- Protected Member Functions inherited from ISystemReadyHandler
virtual ~ISystemReadyHandler ()
 

Member Function Documentation

◆ alive()

void WDTClass::alive ( )

Keep watchdog timer alive.

Note
Call this function regularly to stop WDT from activating
Todo:
Define the WDT period (how long before it triggers)

◆ enable()

void WDTClass::enable ( bool  enableWatchDog)

Enable or disable watchdog timer.

Parameters
enableWatchDogTrue to enable. False to disable.

◆ internalApplyEnabled()

void WDTClass::internalApplyEnabled ( )
protected

◆ onSystemReady()

void WDTClass::onSystemReady ( )
overrideprotectedvirtual

Handle system ready events.

Implements ISystemReadyHandler.


The documentation for this class was generated from the following file: